Assume that restart-services is configured
This commit is contained in:
parent
e17deddef5
commit
4709caba4c
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue