File tree Expand file tree Collapse file tree 8 files changed +17
-16
lines changed
Expand file tree Collapse file tree 8 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ if [ -z "$branch" ]; then
2828 echo " "
2929 echo " Common release branches:"
3030 echo " (*) master: Stable releases only"
31- echo " (*) beta: Beta builds which are being prepared for release"
3231 echo " (*) develop: Daily development builds"
3332 echo " "
3433 echo " You can also specify another branch name from the"
Original file line number Diff line number Diff line change @@ -1067,8 +1067,8 @@ echo "BACKUP_SYSTEM='local'" >> $HESTIA/conf/hestia.conf
10671067echo " LANGUAGE='$lang '" >> $HESTIA /conf/hestia.conf
10681068
10691069# Version & Release Branch
1070- echo " VERSION='1.00.0-190618 '" >> $HESTIA /conf/hestia.conf
1071- echo " RELEASE_BRANCH='develop '" >> $HESTIA /conf/hestia.conf
1070+ echo " VERSION='1.0.1 '" >> $HESTIA /conf/hestia.conf
1071+ echo " RELEASE_BRANCH='master '" >> $HESTIA /conf/hestia.conf
10721072
10731073# Installing hosting packages
10741074cp -rf $hestiacp /packages $HESTIA /data/
Original file line number Diff line number Diff line change @@ -1032,8 +1032,8 @@ echo "BACKUP_SYSTEM='local'" >> $HESTIA/conf/hestia.conf
10321032echo " LANGUAGE='$lang '" >> $HESTIA /conf/hestia.conf
10331033
10341034# Version & Release Branch
1035- echo " VERSION='1.00.0-190618 '" >> $HESTIA /conf/hestia.conf
1036- echo " RELEASE_BRANCH='develop '" >> $HESTIA /conf/hestia.conf
1035+ echo " VERSION='1.0.1 '" >> $HESTIA /conf/hestia.conf
1036+ echo " RELEASE_BRANCH='master '" >> $HESTIA /conf/hestia.conf
10371037
10381038# Installing hosting packages
10391039cp -rf $hestiacp /packages $HESTIA /data/
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function welcome_message() {
88 echo ' |_| |_|\___||___/\__|_|\__,_|\____|_| '
99 echo " "
1010 echo " Hestia Control Panel Upgrade Script"
11- echo " Version: $version "
11+ echo " Version: $version "
1212 echo " ==================================================="
1313 echo " "
1414 echo " Existing files will be backed up to the following location:"
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ # Add release branch system configuration if non-existent
4+ release_branch_check=$( cat $HESTIA /conf/hestia.conf | grep RELEASE_BRANCH)
5+ if [ -z " $release_branch_check " ]; then
6+ echo " (*) Adding global release branch variable to system configuration..."
7+ sed -i " /RELEASE_BRANCH/d" $HESTIA /conf/hestia.conf
8+ echo " RELEASE_BRANCH='master'" >> $HESTIA /conf/hestia.conf
9+ fi
10+
11+ # Step through version upgrade scripts in order as necessary to ensure that systems
12+ # are properly upgraded if skipping versions.
313if [ $VERSION = " $version " ]; then
414 echo " (!) The latest version of Hestia Control Panel ($version ) is already installed."
515 echo " Verifying configuration..."
@@ -15,7 +25,7 @@ if [ $VERSION = "0.9.8-28" ]; then
1525 source /usr/local/hestia/install/upgrade/versions/1.00.0-190618.sh
1626 VERSION=" 1.00.0-190618"
1727fi
18- if [ $VERSION = " 0.10.00" ] || [ $VERSION = " 1.00.0-190618" ]; then
28+ if [ $VERSION = " 0.10.00" ] || [ $VERSION = " 1.00.0-190618" ] || [ $VERSION = " 1.00.0-190621 " ] ; then
1929 source /usr/local/hestia/install/upgrade/versions/$version .sh
2030 VERSION=" $version "
2131fi
File renamed without changes.
Original file line number Diff line number Diff line change @@ -27,14 +27,6 @@ if [ ! -z "$imap_check" ]; then
2727 fi
2828fi
2929
30- # Add release branch system configuration if non-existent
31- release_branch_check=$( cat $HESTIA /conf/hestia.conf | grep RELEASE_BRANCH)
32- if [ -z " $release_branch_check " ]; then
33- echo " (*) Adding global release branch variable to system configuration..."
34- sed -i " /RELEASE_BRANCH/d" $HESTIA /conf/hestia.conf
35- echo " RELEASE_BRANCH='develop'" >> $HESTIA /conf/hestia.conf
36- fi
37-
3830# Load global variables
3931source $HESTIA /conf/hestia.conf
4032
Original file line number Diff line number Diff line change 11Source: hestia
22Package: hestia
33Priority: optional
4- Version: 1.00.0-190621
4+ Version: 1.0.1
55Section: admin
66Maintainer: HestiaCP <info@hestiacp.com>
77Homepage: https://www.hestiacp.com
You can’t perform that action at this time.
0 commit comments