Kristan Kenney 6 лет назад
Родитель
Сommit
abe9301720

+ 7 - 0
func/upgrade.sh

@@ -120,6 +120,13 @@ upgrade_start_routine() {
 
     # Upgrade to Version 1.0.3
     if [ $VERSION = "1.0.2" ]; then
+        source $HESTIA/install/upgrade/versions/previous/1.0.3.sh
+        VERSION="$new_version"
+        upgrade_refresh_config
+    fi
+
+    # Upgrade to Version 1.1.0
+    if [ $VERSION = "1.0.3" ]; then
         source $HESTIA/install/upgrade/versions/latest.sh
         VERSION="$new_version"
         upgrade_refresh_config

+ 2 - 2
install/hst-install-debian.sh

@@ -412,7 +412,7 @@ echo ' |  _  |  __/\__ \ |_| | (_| | |___|  __/ '
 echo ' |_| |_|\___||___/\__|_|\__,_|\____|_|    '
 echo
 echo '                      Hestia Control Panel'
-echo '                                    v1.0.3'
+echo '                                    v1.1.0'
 echo -e "\n"
 echo "===================================================================="
 echo -e "\n"
@@ -1099,7 +1099,7 @@ echo "BACKUP_SYSTEM='local'" >> $HESTIA/conf/hestia.conf
 echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf
 
 # Version & Release Branch
-echo "VERSION='1.0.3'" >> $HESTIA/conf/hestia.conf
+echo "VERSION='1.1.0'" >> $HESTIA/conf/hestia.conf
 echo "RELEASE_BRANCH='release'" >> $HESTIA/conf/hestia.conf
 
 # Installing hosting packages

+ 2 - 2
install/hst-install-ubuntu.sh

@@ -390,7 +390,7 @@ echo ' |  _  |  __/\__ \ |_| | (_| | |___|  __/ '
 echo ' |_| |_|\___||___/\__|_|\__,_|\____|_|    '
 echo
 echo '                      Hestia Control Panel'
-echo '                                    v1.0.3'
+echo '                                    v1.1.0'
 echo -e "\n"
 echo "===================================================================="
 echo -e "\n"
@@ -1061,7 +1061,7 @@ echo "BACKUP_SYSTEM='local'" >> $HESTIA/conf/hestia.conf
 echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf
 
 # Version & Release Branch
-echo "VERSION='1.0.3'" >> $HESTIA/conf/hestia.conf
+echo "VERSION='1.1.0'" >> $HESTIA/conf/hestia.conf
 echo "RELEASE_BRANCH='release'" >> $HESTIA/conf/hestia.conf
 
 # Installing hosting packages

+ 2 - 2
install/upgrade/versions/latest.sh

@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# Hestia Control Panel upgrade script for target version 1.0.3
+# Hestia Control Panel upgrade script for target version 1.1.0
 
 #######################################################################################
 #######                      Place additional commands below.                   #######
@@ -34,4 +34,4 @@ if [ ! -z "$IMAP_SYSTEM" ]; then
         cp -f /etc/nginx/conf.d/webmail.inc $HESTIA_BACKUP/conf/
         sed -i "s/config|temp|logs/README.md|config|temp|logs|bin|SQL|INSTALL|LICENSE|CHANGELOG|UPGRADING/g" /etc/nginx/conf.d/webmail.inc
     fi
-fi 
+fi 

+ 8 - 0
install/upgrade/versions/previous/1.0.3.sh

@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Hestia Control Panel upgrade script for target version 1.0.3
+
+#######################################################################################
+#######                      Place additional commands below.                   #######
+#######################################################################################
+

+ 1 - 1
src/deb/hestia/control

@@ -1,7 +1,7 @@
 Source: hestia
 Package: hestia
 Priority: optional
-Version: 1.0.3
+Version: 1.1.0
 Section: admin
 Maintainer: HestiaCP <info@hestiacp.com>
 Homepage: https://www.hestiacp.com