浏览代码

Check commit

Bob Mottram 8 年前
父节点
当前提交
546cb11ba4
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      src/freedombone-app-postactiv

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

@@ -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