Browse Source

check_updates.sh: compter c’est pas facile

master
Alarig Le Lay 1 year ago
parent
commit
379e907cc5
No known key found for this signature in database
GPG Key ID: C865491BF197B54F
  1. 2
      check_updates.sh

2
check_updates.sh

@ -28,7 +28,7 @@ if [ "$(grep '\[ebuild U' ${TMP_FILE})" != '' ]; then
printf "\n" >> ${MAIL}
cat ${TMP_FILE} >> ${MAIL}
if [ "$(lsof -n | awk '{ if ($5 == "DEL") print $9 }' | sort -u)" ]; then
if [ "$(lsof -n | awk '{ if ($6 == "DEL") print $9 }' | sort -u)" ]; then
restart-services --no-color >> ${MAIL}
fi

Loading…
Cancel
Save