Skip to content

Commit bc031d2

Browse files
author
Kristan Kenney
committed
Merge branch 'bugfix-installer'
2 parents 08a9392 + ff45239 commit bc031d2

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

func/upgrade.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,13 @@ upgrade_start_routine() {
147147

148148
# Upgrade to Version 1.1.0
149149
if [ $VERSION = "1.0.6" ]; then
150+
source $HESTIA/install/upgrade/versions/latest.sh
151+
VERSION="1.1.0"
152+
upgrade_refresh_config
153+
fi
154+
155+
# Upgrade to Version 1.1.1
156+
if [ $VERSION = "1.1.0" ]; then
150157
source $HESTIA/install/upgrade/versions/latest.sh
151158
VERSION="$new_version"
152159
upgrade_refresh_config

install/hst-install-debian.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -623,9 +623,7 @@ fi
623623
# Installing hestia repo
624624
echo "(*) Hestia Control Panel"
625625
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
626-
wget --quiet https://gpg.hestiacp.com/deb_signing.key -O /tmp/deb_signing.key
627-
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /tmp/deb_signing.key > /dev/null 2>&1
628-
rm /tmp/deb_signing.key
626+
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
629627

630628
# Installing postgresql repo
631629
if [ "$postgresql" = 'yes' ]; then

install/hst-install-ubuntu.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,9 +579,7 @@ APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyse
579579
# Installing hestia repo
580580
echo "(*) Hestia Control Panel"
581581
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
582-
wget --quiet https://gpg.hestiacp.com/deb_signing.key -O /tmp/deb_signing.key
583-
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /tmp/deb_signing.key > /dev/null 2>&1
584-
rm /tmp/deb_signing.key
582+
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
585583

586584
# Installing postgresql repo
587585
if [ "$postgresql" = 'yes' ]; then
@@ -1623,6 +1621,12 @@ if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
16231621
if [ -e /etc/rc.local ]; then
16241622
sed -i '/exit 0/d' /etc/rc.local
16251623
fi
1624+
1625+
check_rclocal=$(cat /etc/rc.local | grep "#!")
1626+
if [ -z "$check_rclocal" ]; then
1627+
echo "#!/bin/sh" >> /etc/rc.local
1628+
fi
1629+
16261630
echo "$HESTIA/bin/v-update-sys-ip" >> /etc/rc.local
16271631
echo "exit 0" >> /etc/rc.local
16281632
chmod +x /etc/rc.local

0 commit comments

Comments
 (0)