From 45e1e83e63bc414e9fb249c14c9fa5d7b3c95c69 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 May 2018 18:25:30 +0100 Subject: [PATCH] Don't sync if upgrading inadyn repo --- src/freedombone-utils-web | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web index efaca439..b5d8f8d8 100755 --- a/src/freedombone-utils-web +++ b/src/freedombone-utils-web @@ -491,12 +491,12 @@ function install_dynamicdns { if [ -d "$INSTALL_DIR/inadyn" ]; then rm -rf "$INSTALL_DIR/inadyn" fi + else + # update to the next commit + function_check set_repo_commit + set_repo_commit "$INSTALL_DIR/inadyn" "inadyn commit" "$INADYN_COMMIT" "$INADYN_REPO" fi - # update to the next commit - function_check set_repo_commit - set_repo_commit "$INSTALL_DIR/inadyn" "inadyn commit" "$INADYN_COMMIT" "$INADYN_REPO" - # Here we compile from source because the current package # doesn't support https, which could result in passwords # being leaked