summaryrefslogtreecommitdiff
path: root/pcr/pulseaudio-equalizer-ladspa/pulseaudio-equalizer-2.7-force-default-persistence-value.patch
blob: aeff7ea5f3b40716188841f1d478d9c38af00278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- pulseaudio-equalizer.orig/usr/bin/pulseaudio-equalizer
+++ pulseaudio-equalizer/usr/bin/pulseaudio-equalizer
@@ -128,7 +128,9 @@
 if [ -f $HOME/.config/pulse/default.pa ]; then
     if [ "$(cat $HOME/.config/pulse/default.pa | grep -m1 "### BEGIN: Equalized audio configuration")" = "### BEGIN: Equalized audio configuration" ]; then
     PA_EQUALIZER_PERSISTENCE=1
-  fi
+    else
+    PA_EQUALIZER_PERSISTENCE=0
+    fi
 else
   PA_EQUALIZER_PERSISTENCE=0
 fi