diff --git a/scripts/_common.sh b/scripts/_common.sh index e91a56e..6aa0695 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -243,7 +243,7 @@ ynh_add_fpm_config () { if [ -e "../conf/php-fpm.ini" ] then finalphpini="/etc/php5/fpm/conf.d/20-$app.ini" - ynh_compare_checksum_config "$finalphpini" 1 + ynh_backup_if_checksum_is_different "$finalphpini" 1 sudo cp ../conf/php-fpm.ini "$finalphpini" sudo chown root: "$finalphpini" ynh_store_checksum_config "$finalphpini"