Packages: pkginfo is used by CRUX and JanusLinux
This commit is contained in:
parent
b8eb8fbaa7
commit
8ee4710225
4
neofetch
4
neofetch
|
@ -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/*
|
||||||
|
|
||||||
|
|
Reference in New Issue