mirror of
https://github.com/eepykate/fet.sh.git
synced 2026-11-14 19:03:07 +00:00
Fix inaccurated arch package count (Solves #19)
This commit is contained in:
1 parent
33d1029e8b
commit
71afae542c
1 file changed
+1
-1
@@ -91,7 +91,7 @@ if [ -e /proc/$$/comm ]; then
|
||||
# then save the argument count to $pkgs
|
||||
set --
|
||||
[ -d /var/db/kiss/installed ] && set -- /var/db/kiss/installed/*
|
||||
[ -d /var/lib/pacman/local ] && set -- /var/lib/pacman/local/*
|
||||
[ -d /var/lib/pacman/local ] && set -- /var/lib/pacman/local/[0-9a-z]*
|
||||
[ -d /var/db/xbps ] && set -- /var/db/xbps/.*
|
||||
[ -d /var/db/pkg ] && set -- /var/db/pkg/*/* # gentoo
|
||||
pkgs=${###0}
|
||||
|
||||
Reference in new issue
Block a user