From fb2866eed12d8f2a6152157fa57cf4ce630c1c23 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Sun, 8 Sep 2024 11:08:51 +0900 Subject: [PATCH] Update install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 8d409fc..65a506f 100755 --- a/install.sh +++ b/install.sh @@ -21,8 +21,8 @@ fi clear # Check if PulseAudio package is installed -if pacman -Qq pulseaudio >/dev/null 2>&1; then - echo "$ERROR PulseAudio is installed. Uninstall it first or edit install.sh on line 211 (execute_script 'pipewire.sh')." +if pacman -Qq | grep -qw pulseaudio; then + echo "$ERROR PulseAudio is detected as installed. Uninstall it first or edit install.sh on line 211 (execute_script 'pipewire.sh')." exit 1 fi