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}
|
cat ${TMP_FILE} >> ${MAIL}
|
||||||
|
|
||||||
if [ "$(lsof -n | awk '{ if ($5 == "DEL") print $9 }' | sort -u)" ]; then
|
if [ "$(lsof -n | awk '{ if ($5 == "DEL") print $9 }' | sort -u)" ]; then
|
||||||
restart-services --no-color -u >> ${MAIL}
|
restart-services --no-color >> ${MAIL}
|
||||||
fi
|
fi
|
||||||
emerge -p --depclean --with-bdeps\=y >> ${MAIL}
|
emerge -p --depclean --with-bdeps\=y >> ${MAIL}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue