From f2f50f2b7e491c94e63b2a469ef878816108dd50 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 28 Dec 2016 18:25:22 +1100 Subject: [PATCH] Packages: Remove 'pisi'. --- neofetch | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/neofetch b/neofetch index ee92cf6d..e1c7e7df 100755 --- a/neofetch +++ b/neofetch @@ -442,14 +442,8 @@ get_packages() { type -p Compile >/dev/null && \ packages="$((packages+=$(ls -d -1 /Programs/*/ | wc -l)))" - # pisi is sometimes unavailable in Solus(?). This uses eopkg - # instead if pisi isn't found. - if type -p pisi >/dev/null; then - packages="$((packages+=$(pisi list-installed | wc -l)))" - - elif type -p eopkg >/dev/null; then + type -p eopkg >/dev/null && \ packages="$((packages+=$(eopkg list-installed | wc -l)))" - fi if type -p pkg >/dev/null; then packages="$((packages+=$(ls -1 /var/db/pkg | wc -l)))"