Explorar el Código

koel upgrades

Bob Mottram hace 7 años
padre
commit
921266cce1
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5
    0
      src/freedombone-app-koel

+ 5
- 0
src/freedombone-app-koel Ver fichero

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