[PHP-FPM] Fix sed command

master
andryyy 2019-01-31 15:51:00 +01:00
parent 3832d04998
commit 6d4bcfabb1
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ fi
# Patching NC files, if any (fixes PHP 7.2.14 + NC 15.0.2)
find /web/ -ipath '*lib/private/legacy/template.php' | while read -r template; do
sed -i "s/\$app \!== '' )/\$app \!== '' \&\& \$app \!== 'core' )/g" "${template}"; done
sed -i "s/\$app \!== '' )/\$app \!== '' \&\& \$app \!== 'core' )/g" "${template}"
done
exec "$@"