|
@@ -61,14 +61,6 @@ if [ -d $HESTIA/data/packages/ ]; then
|
|
|
cp -f $HESTIA/data/packages/default.pkg $HESTIA_BACKUP/packages/
|
|
cp -f $HESTIA/data/packages/default.pkg $HESTIA_BACKUP/packages/
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
-# Back up old template files and install the latest versions
|
|
|
|
|
-if [ -d $HESTIA/data/templates/ ]; then
|
|
|
|
|
- cp -rf $HESTIA/data/templates $HESTIA_BACKUP/templates/
|
|
|
|
|
- $HESTIA/bin/v-update-web-templates
|
|
|
|
|
- $HESTIA/bin/v-update-dns-templates
|
|
|
|
|
- $HESTIA/bin/v-update-mail-templates
|
|
|
|
|
-fi
|
|
|
|
|
-
|
|
|
|
|
# Remove old Office 365 template as there is a newer version with an updated name
|
|
# Remove old Office 365 template as there is a newer version with an updated name
|
|
|
if [ -f $HESTIA/data/templates/dns/o365.tpl ]; then
|
|
if [ -f $HESTIA/data/templates/dns/o365.tpl ]; then
|
|
|
rm -f $HESTIA/data/templates/dns/o365.tpl
|
|
rm -f $HESTIA/data/templates/dns/o365.tpl
|