mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-11-08 16:11:02 +00:00
Update calculating number of installed packages
This commit is contained in:
1 parent
589e159dc9
commit
c2352b1bd2
1 file changed
+1
-1
+1
-1
@@ -9,7 +9,7 @@ host="$(hostname)"
|
||||
os="$(cat /etc/fedora-release)"
|
||||
kernel="$(uname -sr)"
|
||||
uptime="$(uptime -p | sed 's/up //')"
|
||||
packages="$(yum list installed | wc -l)"
|
||||
packages="$(dnf list installed | sed '1d' | wc -l)"
|
||||
shell="$(basename "$SHELL")"
|
||||
|
||||
## UI DETECTION
|
||||
|
||||
Reference in new issue
Block a user