From 804f88aa7a851311e983d1428f1d080b44005c6c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 8 Jan 2019 08:27:33 +0200 Subject: [PATCH] packages: revert pkginfo change --- neofetch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index de905efe..e6b48861 100755 --- a/neofetch +++ b/neofetch @@ -1304,8 +1304,9 @@ get_packages() { # Other (Needs complex command) has "kpm-pkg" && ((packages+="$(kpm --get-selections | grep -cv deinstall$)")) - # pkginfo is also the name of a python package manager. - [[ $os != "Linux" ]] && has "pkginfo" && tot pkginfo -i + # pkginfo is also the name of a python package manager which is painfully slow. + # TODO: Fix this somehow. + has pkginfo && tot pkginfo -i case "$kernel_name" in "FreeBSD") has "pkg" && tot pkg info ;;