We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e81a475 commit 90732edCopy full SHA for 90732ed
1 file changed
bin/v-update-web-templates
@@ -50,7 +50,7 @@ cp -rf $HESTIA/install/$type/templates/web $HESTIA/data/templates/
50
php_versions=$(ls /etc/php/*/fpm -d 2>/dev/null | wc -l)
51
if [ "$php_versions" -gt 1 ]; then
52
if [ "$WEB_SYSTEM" = "nginx" ]; then
53
- for tplname in $(ls $HESTIA/data/templates/web/$WEB_SYSTEM/ | grep -v 'default'); do
+ for tplname in $(ls $HESTIA/data/templates/web/$WEB_SYSTEM/ | grep -E 'PHP-[0-9][0-9]' ); do
54
rm -fr $HESTIA/data/templates/web/$WEB_SYSTEM/$tplname
55
done
56
fi
0 commit comments