Update install.sh

This commit is contained in:
Ja.KooLit 2024-09-08 11:08:51 +09:00 committed by GitHub
parent 9241cbf2c6
commit fb2866eed1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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