Packages: pkginfo is used by CRUX and JanusLinux

This commit is contained in:
Muhammad Herdiansyah 2018-08-16 13:52:02 +07:00
parent b8eb8fbaa7
commit 8ee4710225
1 changed files with 2 additions and 2 deletions

View File

@ -1274,6 +1274,7 @@ get_packages() {
has "sorcery" && tot gaze installed has "sorcery" && tot gaze installed
has "alps" && tot alps showinstalled has "alps" && tot alps showinstalled
has "butch" && tot butch list has "butch" && tot butch list
has "pkginfo" && tot pkginfo -i
# Counting files/dirs. # Counting files/dirs.
has "emerge" && dir /var/db/pkg/*/*/ has "emerge" && dir /var/db/pkg/*/*/
@ -1290,8 +1291,7 @@ get_packages() {
has "kpm-pkg" && ((packages+="$(kpm --get-selections | grep -cv deinstall$)")) has "kpm-pkg" && ((packages+="$(kpm --get-selections | grep -cv deinstall$)"))
case "$kernel_name" in case "$kernel_name" in
"FreeBSD") has "pkg" && tot pkg info ;; "FreeBSD") has "pkg" && tot pkg info ;;
"SunOS") has "pkginfo" && tot pkginfo -i ;;
*) *)
has "pkg" && dir /var/db/pkg/* has "pkg" && dir /var/db/pkg/*