Skip to content

Commit c86d7b8

Browse files
author
Kristan Kenney
committed
Change release version to 1.0.1
1 parent 288a680 commit c86d7b8

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

install/upgrade/messages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:"

install/upgrade/version.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
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.
313
if [ $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"
1727
fi
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"
2131
fi

install/upgrade/versions/1.00.0-190618.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ if [ ! -z "$imap_check" ]; then
2727
fi
2828
fi
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
3931
source $HESTIA/conf/hestia.conf
4032

src/deb/hestia/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: hestia
22
Package: hestia
33
Priority: optional
4-
Version: 1.00.0-190621
4+
Version: 1.0.1
55
Section: admin
66
Maintainer: HestiaCP <info@hestiacp.com>
77
Homepage: https://www.hestiacp.com

0 commit comments

Comments
 (0)