Maniack Crudelis
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
scripts/upgrade
|
|
@ -107,7 +107,7 @@ usermod -g "$user" "$user" |
|
|
# PHP-FPM CONFIGURATION |
|
|
# PHP-FPM CONFIGURATION |
|
|
#================================================= |
|
|
#================================================= |
|
|
|
|
|
|
|
|
modified_config=$(ynh_backup_if_checksum_is_different --file="/etc/php5/fpm/pool.d/$app.conf") |
|
|
|
|
|
|
|
|
modified_config=$(ynh_backup_if_checksum_is_different --file="/etc/php/7.0/fpm/pool.d/$app.conf") |
|
|
# Replace nginx config only if it wasn't modified. |
|
|
# Replace nginx config only if it wasn't modified. |
|
|
if [ -z "$modified_config" ] |
|
|
if [ -z "$modified_config" ] |
|
|
then |
|
|
then |
|
|
|