From f1a848900f23807132efde9749af19f504225598 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 16 Dec 2020 13:56:15 +0100 Subject: [PATCH] fix config --- scripts/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 85769fc..0c14bca 100644 --- a/scripts/config +++ b/scripts/config @@ -15,6 +15,8 @@ source /usr/share/yunohost/helpers app=$YNH_APP_INSTANCE_NAME +phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) + #================================================= # LOAD VALUES #================================================= @@ -77,7 +79,7 @@ apply_config() { if [ "$fpm_footprint" != "0" ] then - ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint + ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_footprint --package="$extra_php_dependencies" else ynh_print_err --message="When selecting 'specific', you have to set a footprint value into the field below." fi