mirror of
https://github.com/eepykate/fet.sh.git
synced 2026-10-01 05:22:36 +07:00
Fix inaccurated arch package count (Solves #19)
This commit is contained in:
@@ -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