Packages: Add support for HP-UX
This commit is contained in:
parent
68630a125e
commit
c3901fbc2a
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue