Packages: Add support for HP-UX

This commit is contained in:
Dylan Araps 2017-01-19 14:12:07 +11:00
parent 68630a125e
commit c3901fbc2a

View file

@ -523,6 +523,10 @@ get_packages() {
packages="$(lslpp -J -l -q | grep -cv '^#')"
packages="$((packages+=$(rpm -qa | wc -l)))"
;;
"HP-UX")
packages="$(swlist | wc -l)"
;;
esac
((packages == 0)) && unset packages