File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ apt-key add deb_signing.key
118118# Remove vesta packages
119119echo " Remove VestaCP packages..."
120120systemctl stop vesta
121- apt-get -qq remove vesta vesta-nginx vesta-php vesta-ioncube vesta-softaculous -y > /dev/null
121+ apt-get -qq remove vesta vesta-nginx vesta-php vesta-ioncube vesta-softaculous -y > /dev/null 2>&1
122122
123123# Clear up softaculous
124124rm -fr /usr/local/vesta/softaculous
@@ -129,6 +129,12 @@ mv /etc/profile.d/vesta.sh /etc/profile.d/hestia.sh
129129mv /usr/local/vesta $HESTIA
130130mv $HESTIA /conf/vesta.conf $HESTIA /conf/hestia.conf
131131
132+ # Install hestia packages
133+ echo " Update System Repository and install HestiaCP Packages..."
134+ apt-get -qq update
135+ apt-get -qq upgrade -y > /dev/null 2>&1
136+ apt-get -qq install hestia hestia-nginx hestia-php -y > /dev/null 2>&1
137+
132138# Add changed configuration files
133139echo " export HESTIA='$HESTIA '" >> /etc/profile.d/hestia.sh
134140
@@ -151,12 +157,6 @@ sed -i 's/vesta/hestia/g' /etc/roundcube/config.inc.php
151157rm /etc/logrotate.d/vesta
152158cp -f $hestiacp /logrotate/vesta /etc/logrotate.d/hestia
153159
154- # Install hestia packages
155- echo " Update System Repository and install HestiaCP Packages..."
156- apt-get -qq update
157- apt-get -qq upgrade -y
158- apt-get -qq install hestia hestia-nginx hestia-php -y
159-
160160# Restart hestia service once
161161systemctl restart hestia
162162
You can’t perform that action at this time.
0 commit comments