Add eix-test-obsolete test

This commit is contained in:
Alarig Le Lay 2018-04-27 10:33:12 +02:00
parent 4709caba4c
commit 962d57a035

View file

@ -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