Commit 2eb6dbf9 authored by Dylan Araps's avatar Dylan Araps

Merge pull request #113 from h3xx/slackware_fix

Fix 0 package count in Slackware
parents 5aacff5e 4920d70b
...@@ -574,7 +574,7 @@ getpackages () { ...@@ -574,7 +574,7 @@ getpackages () {
elif type -p pacman >/dev/null 2>&1; then elif type -p pacman >/dev/null 2>&1; then
packages="$(pacman -Qq --color never | wc -l)" 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)" packages="$(ls -1 /var/log/packages | wc -l)"
elif type -p rpm >/dev/null 2>&1; then elif type -p rpm >/dev/null 2>&1; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment