Kay0u
5 years ago
No known key found for this signature in database
GPG Key ID: AAFEEB16CFA2AE2D
1 changed files with
3 additions and
1 deletions
-
scripts/config
|
|
@ -15,6 +15,8 @@ source /usr/share/yunohost/helpers |
|
|
|
|
|
|
|
|
app=$YNH_APP_INSTANCE_NAME |
|
|
app=$YNH_APP_INSTANCE_NAME |
|
|
|
|
|
|
|
|
|
|
|
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) |
|
|
|
|
|
|
|
|
#================================================= |
|
|
#================================================= |
|
|
# LOAD VALUES |
|
|
# LOAD VALUES |
|
|
#================================================= |
|
|
#================================================= |
|
|
@ -77,7 +79,7 @@ apply_config() { |
|
|
|
|
|
|
|
|
if [ "$fpm_footprint" != "0" ] |
|
|
if [ "$fpm_footprint" != "0" ] |
|
|
then |
|
|
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 |
|
|
else |
|
|
ynh_print_err --message="When selecting 'specific', you have to set a footprint value into the field below." |
|
|
ynh_print_err --message="When selecting 'specific', you have to set a footprint value into the field below." |
|
|
fi |
|
|
fi |
|
|
|