[PHP-FPM] Fix sed command

master
andryyy 2019-01-31 15:49:53 +01:00
parent 60f9968134
commit 3832d04998
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}"
sed -i "s/\$app \!== '' )/\$app \!== '' \&\& \$app \!== 'core' )/g" "${template}"; done
done
exec "$@"