mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-10-20 11:20:00 +00:00
Fix package count on some NetBSD systems
This commit is contained in:
1 parent
3ec18b1bfe
commit
1af1a034b7
1 file changed
+1
-1
+1
-1
@@ -9,7 +9,7 @@ host="$(hostname)"
|
||||
os="$(uname -sr)"
|
||||
kernel="$(uname -r)"
|
||||
uptime="$(uptime | awk -F, '{sub(".*up ",x,$1);print $1}' | sed -e 's/^[ \t]*//')"
|
||||
packages="$(pkgin list | wc -l | sed -e 's/^[ \t]*//')"
|
||||
packages="$(pkg_info | wc -l | sed -e 's/^[ \t]*//')"
|
||||
shell="$(basename "$SHELL")"
|
||||
|
||||
## UI DETECTION
|
||||
|
||||
Reference in new issue
Block a user