1
0
Fork 0
mirror of https://github.com/JackHack96/EasyEffects-Presets.git synced 2024-11-21 05:10:08 +00:00

Fix flatpak detection in install.sh.

This commit is contained in:
Konstantin Bläsi 2018-12-30 20:52:27 +01:00
parent aa3b47ad34
commit 8ff64a3dd3

View file

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