From e17deddef5022313aae3cb20ac6e35359a02d8e1 Mon Sep 17 00:00:00 2001 From: alarig Date: Wed, 11 Apr 2018 11:16:47 +0200 Subject: [PATCH] Migration from restart_services to restart-services and removing colors --- check_updates.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/check_updates.sh b/check_updates.sh index 1016da5..097cd37 100755 --- a/check_updates.sh +++ b/check_updates.sh @@ -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}