Don't sync if upgrading inadyn repo

This commit is contained in:
Bob Mottram 2018-05-12 18:25:30 +01:00
parent a30f751b06
commit 45e1e83e63
1 changed files with 4 additions and 4 deletions

View File

@ -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