mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-10-01 14:02:46 +07:00
Fix package count on some NetBSD systems
This commit is contained in:
+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