mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 20:12:31 +00:00
Merge pull request #113 from h3xx/slackware_fix
Fix 0 package count in Slackware
This commit is contained in:
2
neofetch
2
neofetch
@@ -574,7 +574,7 @@ getpackages () {
|
||||
elif type -p pacman >/dev/null 2>&1; then
|
||||
packages="$(pacman -Qq --color never | wc -l)"
|
||||
|
||||
elif type -p pkgtool >/dev/null 2>&1; then
|
||||
elif type -p /sbin/pkgtool >/dev/null 2>&1; then
|
||||
packages="$(ls -1 /var/log/packages | wc -l)"
|
||||
|
||||
elif type -p rpm >/dev/null 2>&1; then
|
||||
|
||||
Reference in New Issue
Block a user