File tree Expand file tree Collapse file tree 6 files changed +52
-9
lines changed
Expand file tree Collapse file tree 6 files changed +52
-9
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ AMD (x86_64 Intel/AMD)
3939
4040ARM64 (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
4646Installing Hestia Control Panel
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ os='debian'
1919architecture=" $( uname -m) "
2020release=$( cat /etc/debian_version | tr " ." " \n" | head -n1)
2121codename=" $( 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"
2323VERBOSE=' no'
2424
2525# Define software versions
26- HESTIA_INSTALL_VER=' 1.5.0 '
26+ HESTIA_INSTALL_VER=' 1.5.1~alpha '
2727pma_v=' 5.1.1'
2828rc_v=" 1.5.0"
2929multiphp_v=(" 5.6" " 7.0" " 7.1" " 7.2" " 7.3" " 7.4" " 8.0" " 8.1" )
709709
710710# Installing HestiaCP repo
711711echo " [ * ] 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
713713apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
714714
715715# Installing PostgreSQL repo
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ HESTIA_INSTALL_DIR="$HESTIA/install/deb"
2323VERBOSE=' no'
2424
2525# Define software versions
26- HESTIA_INSTALL_VER=' 1.5.0 '
26+ HESTIA_INSTALL_VER=' 1.5.1~alpha '
2727pma_v=' 5.1.1'
2828rc_v=" 1.5.0"
2929multiphp_v=(" 5.6" " 7.0" " 7.1" " 7.2" " 7.3" " 7.4" " 8.0" " 8.1" )
679679
680680# Installing HestiaCP repo
681681echo " [ * ] 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
683683apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
684684
685685# Installing PostgreSQL repo
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11Source: hestia
22Package: hestia
33Priority: optional
4- Version: 1.5.0
4+ Version: 1.5.1~alpha
55Section: admin
66Maintainer: HestiaCP <info@hestiacp.com>
77Homepage: https://www.hestiacp.com
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments