From 0b77804a65a269e3d4a1d25586839e37571271a6 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Tue, 16 May 2017 15:08:09 +0700 Subject: [PATCH] Packages [IRIX]: Added initial support --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index 81f8b736..2b2fd13c 100755 --- a/neofetch +++ b/neofetch @@ -537,6 +537,10 @@ get_packages() { packages="$(lslpp -J -l -q | grep -cv '^#')" packages="$((packages+=$(rpm -qa | wc -l)))" ;; + + "IRIX") + packages="$(($(versions -b | wc -l)-3))" + ;; esac ((packages == 0)) && unset packages