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