saubermann: avoid error exit code from aptitude search

This commit is contained in:
neingeist 2017-11-14 11:41:23 +01:00
parent fcb0bfe3a7
commit 077d74d9ca

View file

@ -34,7 +34,7 @@ if is_debian; then
find /etc -name "*.dpkg-*" -or -name "*.ucf-*"
echo "== Orphan packages according to aptitude"
aptitude search "~o"
aptitude search "~o" || exit 0
elif is_fedora; then
# check for things not installed via RPM and other junk