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