Bob Mottram před 7 roky
rodič
revize
921266cce1
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5
    0
      src/freedombone-app-koel

+ 5
- 0
src/freedombone-app-koel Zobrazit soubor

@@ -295,6 +295,11 @@ function upgrade_koel {
295 295
         KOEL_DOMAIN_NAME=$(get_completion_param "koel domain")
296 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 303
     systemctl stop koel
299 304
 
300 305
     # update to the next commit