From 8ff64a3dd3fbcc41e1999c902efb3709059f3a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Bl=C3=A4si?= Date: Sun, 30 Dec 2018 20:52:27 +0100 Subject: [PATCH] Fix flatpak detection in install.sh. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 65e4c88..b41ffaf 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"