From 114839bd65d6f543068caa00ad3340c2ef1c0a46 Mon Sep 17 00:00:00 2001 From: Eike B <derbaranator@gmail.com> Date: Sun, 3 May 2015 21:06:09 +0200 Subject: [PATCH] update coords always, even if coords already exist --- configurator/files/lib/ffnw/configurator/configurator.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configurator/files/lib/ffnw/configurator/configurator.sh b/configurator/files/lib/ffnw/configurator/configurator.sh index a576d4b..364f205 100644 --- a/configurator/files/lib/ffnw/configurator/configurator.sh +++ b/configurator/files/lib/ffnw/configurator/configurator.sh @@ -168,9 +168,8 @@ sync_geo_location(){ fi } -if [[ $SCRIPT_LOCATION_SET = "0" ]]; then - sync_geo_location -fi + +sync_geo_location if [ $CRAWL_METHOD == "login" ]; then err "Authentification method is: username and passwort" @@ -192,4 +191,4 @@ fi if [[ $SCRIPT_SYNC_HOSTNAME = "1" ]]; then sync_hostname -fi \ No newline at end of file +fi -- GitLab