Skip to content

Commit 0d15f86

Browse files
author
Alexandros Ioannides
authored
Update 1.4.0.sh
1 parent fc55c82 commit 0d15f86

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

install/upgrade/versions/1.4.0.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,11 @@ if [ "$WEB_SYSTEM" = "nginx" ]; then
136136
sed -i "s|TPL='codeigniter2'|TPL='codeigniter'|g" $HESTIA/data/users/*/web.conf
137137
sed -i "s|TPL='codeigniter3'|TPL='codeigniter'|g" $HESTIA/data/users/*/web.conf
138138
fi
139+
140+
# Remove outdated nginx templates
141+
echo "[ * ] Removing outdated nginx templates..."
142+
rm -rf $HESTIA/data/templates/web/nginx/php-fpm/drupal6.*tpl
143+
rm -rf $HESTIA/data/templates/web/nginx/php-fpm/drupal7.*tpl
144+
rm -rf $HESTIA/data/templates/web/nginx/php-fpm/drupal8.*tpl
145+
rm -rf $HESTIA/data/templates/web/nginx/php-fpm/codeigniter2.*tpl
146+
rm -rf $HESTIA/data/templates/web/nginx/php-fpm/codeigniter3.*tpl

0 commit comments

Comments
 (0)