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