Packages: Added support for AIX
This commit is contained in:
parent
a7842e7b75
commit
8eeffc3b8c
1 changed files with 5 additions and 0 deletions
5
neofetch
5
neofetch
|
@ -508,6 +508,11 @@ get_packages() {
|
|||
"Haiku")
|
||||
packages="$(ls -1 /boot/system/package-links | wc -l)"
|
||||
;;
|
||||
|
||||
"AIX")
|
||||
packages="$(lslpp -J -l -q | grep -cv '^#')"
|
||||
packages="$((packages+=$(rpm -qa | wc -l)))"
|
||||
;;
|
||||
esac
|
||||
|
||||
((packages == 0)) && unset packages
|
||||
|
|
Loading…
Reference in a new issue