mirror of
https://github.com/JackHack96/EasyEffects-Presets.git
synced 2024-11-23 06:10:09 +00:00
Merge pull request #7 from konstantinblaesi/fix-install-flatpak
Fix flatpak detection in install.sh.
This commit is contained in:
commit
6d11727428
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
# This script automatically detect the PulseEffects presets directory and installs the presets
|
# This script automatically detect the PulseEffects presets directory and installs the presets
|
||||||
|
|
||||||
check_installation() {
|
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"
|
PRESETS_DIRECTORY="$HOME/.var/app/com.github.wwmm.pulseeffects/config/PulseEffects"
|
||||||
elif [ -d "$HOME/.config/PulseEffects" ]; then
|
elif [ -d "$HOME/.config/PulseEffects" ]; then
|
||||||
PRESETS_DIRECTORY="$HOME/.config/PulseEffects"
|
PRESETS_DIRECTORY="$HOME/.config/PulseEffects"
|
||||||
|
|
Loading…
Reference in a new issue