mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-10-24 11:54:52 +00:00
Fix package count on some NetBSD systems
This commit is contained in:
1 parent
4862ade286
commit
3f6ff1cc33
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