From 962d57a035d624599148ce6b8526be26c86a5721 Mon Sep 17 00:00:00 2001 From: alarig Date: Fri, 27 Apr 2018 10:33:12 +0200 Subject: [PATCH] Add eix-test-obsolete test --- check_updates.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/check_updates.sh b/check_updates.sh index ce74139..f48d0a7 100755 --- a/check_updates.sh +++ b/check_updates.sh @@ -25,6 +25,10 @@ if [ "$(grep '\[ebuild U' ${TMP_FILE})" != '' ]; then fi emerge -p --depclean --with-bdeps\=y >> ${MAIL} + eix-test-obsolete \ + | grep -Pv '^No|^Skipping|[Aa]ll.*packages are in the database' \ + >> ${MAIL} + cat ${MAIL} | sendmail -t root@$(hostname -f) fi