From 61788d53234842a456843a5ed3a2d13f3de93043 Mon Sep 17 00:00:00 2001 From: Matteo Iervasi Date: Sun, 22 Jul 2018 14:43:22 +0200 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index dde6c8b..c7bf776 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ # This script automatically detect the PulseEffects presets directory and installs the presets check_installation() { - if flatpak list | grep -q "com.github.wwmm.pulseeffects"; then + if [[ $(flatpak list | grep -q "com.github.wwmm.pulseeffects") ]]; then PRESETS_DIRECTORY="$HOME/.var/app/com.github.wwmm.pulseeffects/config/PulseEffects" elif [ -d "$HOME/.config/PulseEffects" ]; then PRESETS_DIRECTORY="$HOME/.config/PulseEffects"