packages: revert pkginfo change

This commit is contained in:
Dylan Araps 2019-01-08 08:27:33 +02:00
parent 594e1fa10d
commit 804f88aa7a
1 changed files with 3 additions and 2 deletions

View File

@ -1304,8 +1304,9 @@ get_packages() {
# Other (Needs complex command) # Other (Needs complex command)
has "kpm-pkg" && ((packages+="$(kpm --get-selections | grep -cv deinstall$)")) has "kpm-pkg" && ((packages+="$(kpm --get-selections | grep -cv deinstall$)"))
# pkginfo is also the name of a python package manager. # pkginfo is also the name of a python package manager which is painfully slow.
[[ $os != "Linux" ]] && has "pkginfo" && tot pkginfo -i # TODO: Fix this somehow.
has pkginfo && tot pkginfo -i
case "$kernel_name" in case "$kernel_name" in
"FreeBSD") has "pkg" && tot pkg info ;; "FreeBSD") has "pkg" && tot pkg info ;;