From 8dbc2e98dc69ba46e8844ebf222bceaae6839341 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 12 Jan 2024 07:55:05 +0100 Subject: [PATCH] Fix merge from testing :/ --- scripts/install | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 053a926..b8a0607 100755 --- a/scripts/install +++ b/scripts/install @@ -1,16 +1,30 @@ #!/bin/bash +#================================================= +# GENERIC START +#================================================= +# IMPORT GENERIC HELPERS +#================================================= + source _common.sh source /usr/share/yunohost/helpers source _ynh_mysql_connect_as.sh +#================================================= +# STORE SETTINGS FROM MANIFEST +#================================================= + +maintenance=0 +fpm_footprint="high" +fpm_free_footprint=0 +fpm_usage="medium" phpflags="--define apc.enable_cli=1" #================================================= # STORE SETTINGS FROM MANIFEST #================================================= -ynh_app_setting_set --app=$app --key=maintenance --value=$maintenance_mode +ynh_app_setting_set --app=$app --key=maintenance --value=$maintenance ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint ynh_app_setting_set --app=$app --key=fpm_free_footprint --value=$fpm_free_footprint ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage