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,11 +491,11 @@ function install_dynamicdns {
if [ -d "$INSTALL_DIR/inadyn" ]; then if [ -d "$INSTALL_DIR/inadyn" ]; then
rm -rf "$INSTALL_DIR/inadyn" rm -rf "$INSTALL_DIR/inadyn"
fi fi
fi else
# update to the next commit # update to the next commit
function_check set_repo_commit function_check set_repo_commit
set_repo_commit "$INSTALL_DIR/inadyn" "inadyn commit" "$INADYN_COMMIT" "$INADYN_REPO" set_repo_commit "$INSTALL_DIR/inadyn" "inadyn commit" "$INADYN_COMMIT" "$INADYN_REPO"
fi
# Here we compile from source because the current package # Here we compile from source because the current package
# doesn't support https, which could result in passwords # doesn't support https, which could result in passwords