Skip to content

Commit b091731

Browse files
committed
Switch to 1.5.1 release for main branch
1 parent f9e5c5c commit b091731

File tree

6 files changed

+52
-9
lines changed

6 files changed

+52
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ AMD (x86_64 Intel/AMD)
3939

4040
ARM64 (arm64)
4141
----------------------------
42-
* **Debian:** 11, 10
43-
* **Ubuntu:** 20.04 LTS
42+
* **Debian:** 11, 10, 9
43+
* **Ubuntu:** 20.04 LTS or 18.04 LTS
4444
* **NOTE:** ARM 64 bit processors only! ARM 32bit (armhf) is currently not supported!
4545

4646
Installing Hestia Control Panel

install/hst-install-debian.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ os='debian'
1919
architecture="$(uname -m)"
2020
release=$(cat /etc/debian_version | tr "." "\n" | head -n1)
2121
codename="$(cat /etc/os-release |grep VERSION= |cut -f 2 -d \(|cut -f 1 -d \))"
22-
HESTIA_INSTALL_DIR="$HESTIA/install/deb "
22+
HESTIA_INSTALL_DIR="$HESTIA/install/deb"
2323
VERBOSE='no'
2424

2525
# Define software versions
26-
HESTIA_INSTALL_VER='1.5.0'
26+
HESTIA_INSTALL_VER='1.5.1~alpha'
2727
pma_v='5.1.1'
2828
rc_v="1.5.0"
2929
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1")
@@ -709,7 +709,7 @@ fi
709709

710710
# Installing HestiaCP repo
711711
echo "[ * ] Hestia Control Panel"
712-
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
712+
echo "deb [arch=$ARCH] https://$RHOST/ $codename main" > $apt/hestia.list
713713
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
714714

715715
# Installing PostgreSQL repo

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ HESTIA_INSTALL_DIR="$HESTIA/install/deb"
2323
VERBOSE='no'
2424

2525
# Define software versions
26-
HESTIA_INSTALL_VER='1.5.0'
26+
HESTIA_INSTALL_VER='1.5.1~alpha'
2727
pma_v='5.1.1'
2828
rc_v="1.5.0"
2929
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1")
@@ -679,7 +679,7 @@ fi
679679

680680
# Installing HestiaCP repo
681681
echo "[ * ] Hestia Control Panel"
682-
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
682+
echo "deb [arch=$ARCH] https://$RHOST/ $codename main" > $apt/hestia.list
683683
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
684684

685685
# Installing PostgreSQL repo

install/upgrade/versions/1.5.1.sh

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#!/bin/bash
2+
3+
# Hestia Control Panel upgrade script for target version 1.5.1
4+
5+
#######################################################################################
6+
####### Place additional commands below. #######
7+
#######################################################################################
8+
####### Pass trough information to the end user incase of a issue or problem #######
9+
####### #######
10+
####### Use add_upgrade_message "My message here" to include a message #######
11+
####### to the upgrade email. Please add it using: #######
12+
####### #######
13+
####### add_upgrade_message "My message here" #######
14+
####### #######
15+
####### You can use \n within the string to create new lines. #######
16+
#######################################################################################
17+
18+
echo "[ * ] Apply changes for 1.5.1"
19+
20+
upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'false'
21+
upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'false'
22+
upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'false'
23+
upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'false'
24+
upgrade_config_set_value 'UPGRADE_UPDATE_FILEMANAGER_CONFIG' 'false'
25+
26+
RHOST='apt.hestiacp.com'
27+
codename="$(lsb_release -s -c)"
28+
if [ -z "$codename" ]; then
29+
codename="$(cat /etc/os-release |grep VERSION= |cut -f 2 -d \(|cut -f 1 -d \))"
30+
fi
31+
architecture="$(uname -m)"
32+
case $architecture in
33+
x86_64)
34+
ARCH="amd64"
35+
;;
36+
aarch64)
37+
ARCH="arm64"
38+
;;
39+
*)
40+
esac
41+
42+
echo "[ * ] Update /etc/apt/sources.list.d/hestia.list"
43+
sed -i "s|deb https://$RHOST/ $codename main|deb [arch=$ARCH] https://$RHOST/ $codename main|g" /etc/apt/sources.list.d/hestia.list

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.5.0
4+
Version: 1.5.1~alpha
55
Section: admin
66
Maintainer: HestiaCP <info@hestiacp.com>
77
Homepage: https://www.hestiacp.com

src/hst_autocompile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ if [ "$HESTIA_B" = true ]; then
642642
# Allow the executable to be executed
643643
chmod +x $BUILD_DIR_HESTIA/usr/local/hestia/bin/*
644644
find $BUILD_DIR_HESTIA/usr/local/hestia/install/ \( -name '*.sh' \) -exec chmod +x {} \;
645-
chmod -x $BUILD_DIR_HESTIA/usr/local/hestia/install/*
645+
chmod -x $BUILD_DIR_HESTIA/usr/local/hestia/install/*.sh
646646
chown -R root:root $BUILD_DIR_HESTIA
647647

648648
if [ "$BUILD_DEB" = true ]; then

0 commit comments

Comments
 (0)