Migration from restart_services to restart-services and removing colors
This commit is contained in:
parent
cc65f3fb98
commit
e17deddef5
|
@ -1,7 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
PATH="$PATH:/usr/sbin:/sbin"
|
||||
TERM=vt100
|
||||
|
||||
TMP_FILE=$(mktemp)
|
||||
MAIL=$(mktemp)
|
||||
|
@ -22,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 -u >> ${MAIL}
|
||||
restart-services --no-color -u >> ${MAIL}
|
||||
fi
|
||||
emerge -p --depclean --with-bdeps\=y >> ${MAIL}
|
||||
|
||||
|
|
Loading…
Reference in a new issue