Parcourir la source

koel upgrades

Bob Mottram il y a 7 ans
Parent
révision
921266cce1
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5
    0
      src/freedombone-app-koel

+ 5
- 0
src/freedombone-app-koel Voir le fichier

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