mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-09-16 07:56:12 +00:00
Fixed bug where xbps packages would be counted on arch systems and not void systems
This commit is contained in:
@@ -20,7 +20,7 @@ get_packages() {
|
|||||||
if command_exists rpm; then
|
if command_exists rpm; then
|
||||||
ARRAY+=("$(rpm -qa | wc -l) (rpm)")
|
ARRAY+=("$(rpm -qa | wc -l) (rpm)")
|
||||||
fi
|
fi
|
||||||
if command_exists pacman; then
|
if command_exists xbps-query; then
|
||||||
ARRAY+=("$(xbps-query -l | wc -l) (xbps)")
|
ARRAY+=("$(xbps-query -l | wc -l) (xbps)")
|
||||||
fi
|
fi
|
||||||
if command_exists bpm; then
|
if command_exists bpm; then
|
||||||
|
|||||||
Reference in New Issue
Block a user