helpers2.1: forgot to patch ynh_remove_fpm_config -> ynh_config_remove_phpfpm

This commit is contained in:
Alexandre Aubin 2024-07-15 22:13:20 +02:00
parent 771a4b3446
commit bb20020c5a
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ ynh_apt_install_dependencies() {
if [[ -f "/etc/php/$php_version/fpm/pool.d/$app.conf" ]] if [[ -f "/etc/php/$php_version/fpm/pool.d/$app.conf" ]]
then then
ynh_backup_if_checksum_is_different "/etc/php/$php_version/fpm/pool.d/$app.conf" ynh_backup_if_checksum_is_different "/etc/php/$php_version/fpm/pool.d/$app.conf"
ynh_remove_fpm_config ynh_config_remove_phpfpm
fi fi
fi fi
# Store php_version into the config of this app # Store php_version into the config of this app

View file

@ -67,7 +67,7 @@ EOF
# Remove the app's logrotate config. # Remove the app's logrotate config.
# #
# usage: ynh_remove_logrotate # usage:ynh_config_remove_logrotate
ynh_config_remove_logrotate() { ynh_config_remove_logrotate() {
if [ -e "/etc/logrotate.d/$app" ]; then if [ -e "/etc/logrotate.d/$app" ]; then
rm "/etc/logrotate.d/$app" rm "/etc/logrotate.d/$app"