From b8d7017299dcdc50894e824e29c05891a704f163 Mon Sep 17 00:00:00 2001 From: capcreepergr Date: Tue, 18 Jun 2024 07:49:19 +0300 Subject: [PATCH] Fixed bug where xbps packages would be counted on arch systems and not void systems --- config/fetch_script_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/fetch_script_functions.sh b/config/fetch_script_functions.sh index 25e7fbd..0de0213 100644 --- a/config/fetch_script_functions.sh +++ b/config/fetch_script_functions.sh @@ -20,7 +20,7 @@ get_packages() { if command_exists rpm; then ARRAY+=("$(rpm -qa | wc -l) (rpm)") fi - if command_exists pacman; then + if command_exists xbps-query; then ARRAY+=("$(xbps-query -l | wc -l) (xbps)") fi if command_exists bpm; then