Skip to content

Commit 6b2dde6

Browse files
author
Kristan Kenney
committed
Do not warn that domain or user is suspended during upgrade
1 parent fd1655d commit 6b2dde6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

install/upgrade/versions/1.0.1.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ fi
9595
if [ -d $HESTIA/data/templates/ ]; then
9696
echo "(*) Updating default templates and packages..."
9797
cp -rf $HESTIA/data/templates $HESTIA_BACKUP/templates/
98-
$HESTIA/bin/v-update-web-templates
99-
$HESTIA/bin/v-update-dns-templates
100-
$HESTIA/bin/v-update-mail-templates
98+
$HESTIA/bin/v-update-web-templates > /dev/null 2>&1
99+
$HESTIA/bin/v-update-dns-templates > /dev/null 2>&1
100+
$HESTIA/bin/v-update-mail-templates > /dev/null 2>&1
101101
fi
102102

103103
# Back up default package and install latest version
@@ -205,11 +205,12 @@ chmod 755 /etc/cron.daily/php-session-cleanup
205205
# Fix empty pool error message for MultiPHP
206206
php_versions=$(ls /etc/php/*/fpm -d 2>/dev/null |wc -l)
207207
if [ "$php_versions" -gt 1 ]; then
208+
echo "(*) Updating Multi-PHP configuration..."
208209
for v in $(ls /etc/php/); do
209210
if [ ! -d "/etc/php/$v/fpm/pool.d/" ]; then
210211
continue
211212
fi
212-
echo "(*) Updating Multi-PHP configuration..."
213+
213214
cp -f $hestiacp/php-fpm/dummy.conf /etc/php/$v/fpm/pool.d/
214215
v1=$(echo "$v" | sed -e 's/[.]//')
215216
sed -i "s/9999/99$v1/g" /etc/php/$v/fpm/pool.d/dummy.conf

0 commit comments

Comments
 (0)