From 194c3b0d49f450ac5bf1e16dd89a940e13634913 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 23 Dec 2022 23:37:22 +0100 Subject: [PATCH] Update config --- scripts/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 188b1b6..9039486 100644 --- a/scripts/config +++ b/scripts/config @@ -145,7 +145,10 @@ ynh_app_config_apply() { ynh_system_user_del_group --username=$app --groups="sftp.app" fi - ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_footprint + if [ "$phpversion" != "none" ] + then + ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_footprint + fi } ynh_app_config_run $1