Commit 8eeffc3b authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

Packages: Added support for AIX

parent a7842e7b
...@@ -508,6 +508,11 @@ get_packages() { ...@@ -508,6 +508,11 @@ get_packages() {
"Haiku") "Haiku")
packages="$(ls -1 /boot/system/package-links | wc -l)" packages="$(ls -1 /boot/system/package-links | wc -l)"
;; ;;
"AIX")
packages="$(lslpp -J -l -q | grep -cv '^#')"
packages="$((packages+=$(rpm -qa | wc -l)))"
;;
esac esac
((packages == 0)) && unset packages ((packages == 0)) && unset packages
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment