Check commit

This commit is contained in:
Bob Mottram 2017-05-11 22:09:45 +01:00
parent a6886262fa
commit 546cb11ba4
1 changed files with 5 additions and 0 deletions

View File

@ -341,6 +341,11 @@ function configure_interactive_postactiv {
}
function upgrade_postactiv {
CURR_POSTACTIV_COMMIT=$(get_completion_param "postactiv commit")
if [[ "$CURR_POSTACTIV_COMMIT" == "$POSTACTIV_COMMIT" ]]; then
return
fi
if grep -q "postactiv domain" $COMPLETION_FILE; then
POSTACTIV_DOMAIN_NAME=$(get_completion_param "postactiv domain")
fi