Assume that restart-services is configured

This commit is contained in:
Alarig Le Lay 2018-04-19 10:00:31 +02:00
parent e17deddef5
commit 4709caba4c

View file

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