saubermann: avoid error exit code from aptitude search

master
neingeist 7 years ago
parent fcb0bfe3a7
commit 077d74d9ca

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

Loading…
Cancel
Save