From 78b2c7965c9fbdf1c3115ae48028db0054a872c1 Mon Sep 17 00:00:00 2001 From: PieterGit Date: Sat, 31 Dec 2016 11:58:38 +0100 Subject: [PATCH] fix workaround for ww pumps temporary workaround for https://github.com/oskarpearson/mmeowlink/issues/55 --- bin/oref0-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/oref0-setup.sh b/bin/oref0-setup.sh index 3c58cc3a6..40924503b 100755 --- a/bin/oref0-setup.sh +++ b/bin/oref0-setup.sh @@ -452,7 +452,7 @@ else # Hack to check if radio_locale has been set in pump.ini. This is a temporary workaround for https://github.com/oskarpearson/mmeowlink/issues/55 # It will remove empty line at the end of pump.ini and then append radio_locale if it's not there yet - grep -q radio_locale pump.ini && echo "$(< pump.ini)" > pump.ini ; echo "radio_locale=$radio_locale" >> pump.ini + grep -q radio_locale pump.ini || echo "$(< pump.ini)" > pump.ini ; echo "radio_locale=$radio_locale" >> pump.ini fi fi