瀏覽代碼

koel upgrades

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

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

295
         KOEL_DOMAIN_NAME=$(get_completion_param "koel domain")
295
         KOEL_DOMAIN_NAME=$(get_completion_param "koel domain")
296
     fi
296
     fi
297
 
297
 
298
+    CURR_KOEL_COMMIT=$(get_completion_param "koel commit")
299
+    if [[ "$CURR_KOEL_COMMIT" == "$KOEL_COMMIT" ]]; then
300
+        return
301
+    fi
302
+
298
     systemctl stop koel
303
     systemctl stop koel
299
 
304
 
300
     # update to the next commit
305
     # update to the next commit