Bob Mottram 7 anni fa
parent
commit
921266cce1
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      src/freedombone-app-koel

+ 5
- 0
src/freedombone-app-koel Vedi File

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