Browse Source

Check commit

Bob Mottram 8 years ago
parent
commit
546cb11ba4
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/freedombone-app-postactiv

+ 5
- 0
src/freedombone-app-postactiv View File

@@ -341,6 +341,11 @@ function configure_interactive_postactiv {
341 341
 }
342 342
 
343 343
 function upgrade_postactiv {
344
+    CURR_POSTACTIV_COMMIT=$(get_completion_param "postactiv commit")
345
+    if [[ "$CURR_POSTACTIV_COMMIT" == "$POSTACTIV_COMMIT" ]]; then
346
+        return
347
+    fi
348
+
344 349
     if grep -q "postactiv domain" $COMPLETION_FILE; then
345 350
         POSTACTIV_DOMAIN_NAME=$(get_completion_param "postactiv domain")
346 351
     fi