From 943f95ce750c9a700bcd2b01ae4b49f12a52671b Mon Sep 17 00:00:00 2001 From: lapineige Date: Tue, 2 May 2023 14:48:01 +0200 Subject: [PATCH] fix media_upload_size --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c864422..99c0da7 100644 --- a/scripts/install +++ b/scripts/install @@ -38,7 +38,7 @@ ynh_add_nginx_config ynh_script_progression --message="Adding a configuration file..." --weight=1 # max file upload size -# TODO : unbound variable ? #MEDIA_UPLOAD_SIZE="${MEDIA_UPLOAD_SIZE:0:2}000000" # convert the MB argument in bytes +MEDIA_UPLOAD_SIZE="${media_upload_size:0:2}000000" # convert the MB argument in bytes ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"