Procházet zdrojové kódy

Fix incorrect if condition.

Raphael Schneeberger před 5 roky
rodič
revize
b0e5250eb4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      func/upgrade.sh

+ 1 - 1
func/upgrade.sh

@@ -160,7 +160,7 @@ upgrade_start_routine() {
     fi
 
     # Upgrade to Version 1.2.0
-    if [ $VERSION = "1.1.1" || $VERSION = "1.1.2" ]; then
+    if [ $VERSION = "1.1.1" ] || [ $VERSION = "1.1.2" ]; then
         source $HESTIA/install/upgrade/versions/latest.sh
         VERSION="$new_version"
         upgrade_refresh_config