Skip to content

Commit e43d014

Browse files
author
Kristan Kenney
committed
Fix issue in upgrade_php_templates function
1 parent e3f6589 commit e43d014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ update_php_templates() {
228228
cp -f $HESTIA_INSTALL_DIR/templates/web/php-fpm/socket.tpl \
229229
$HESTIA/data/templates/web/php-fpm/socket.tpl
230230

231-
for version in $(v-list-sys-php plain); do
231+
for version in $($HESTIA/bin/v-list-sys-php plain); do
232232
echo "(*) Updating templates for PHP ${version}..."
233233
cp -f $HESTIA_INSTALL_DIR/php-fpm/multiphp.tpl \
234234
$HESTIA/data/templates/web/php-fpm/PHP-${version/\./_}.tpl;

0 commit comments

Comments
 (0)