File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed
Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 623623# Installing hestia repo
624624echo " (*) Hestia Control Panel"
625625echo " 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
631629if [ " $postgresql " = ' yes' ]; then
Original file line number Diff line number Diff 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
580580echo " (*) Hestia Control Panel"
581581echo " 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
587585if [ " $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
You can’t perform that action at this time.
0 commit comments