瀏覽代碼

Check commit

Bob Mottram 8 年之前
父節點
當前提交
546cb11ba4
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      src/freedombone-app-postactiv

+ 5
- 0
src/freedombone-app-postactiv 查看文件

341
 }
341
 }
342
 
342
 
343
 function upgrade_postactiv {
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
     if grep -q "postactiv domain" $COMPLETION_FILE; then
349
     if grep -q "postactiv domain" $COMPLETION_FILE; then
345
         POSTACTIV_DOMAIN_NAME=$(get_completion_param "postactiv domain")
350
         POSTACTIV_DOMAIN_NAME=$(get_completion_param "postactiv domain")
346
     fi
351
     fi