Check inadyn commit

This commit is contained in:
Bob Mottram 2017-08-05 17:48:08 +01:00
parent 8aec3e3da3
commit 5914a8c190
1 changed files with 5 additions and 0 deletions

View File

@ -425,6 +425,11 @@ function install_dynamicdns {
return
fi
CURR_INADYN_COMMIT=$(get_completion_param "inadyn commit")
if [[ "${CURR_INADYN_COMMIT}" == "${INADYN_COMMIT}" ]]; then
return
fi
# update to the next commit
function_check set_repo_commit
set_repo_commit $INSTALL_DIR/inadyn "inadyn commit" "$INADYN_COMMIT" $INADYN_REPO