diff --git a/scripts/install b/scripts/install index 49f7a74..e79aea3 100644 --- a/scripts/install +++ b/scripts/install @@ -13,10 +13,10 @@ ynh_app_setting_set --key=custom_title --value="$custom_title" custom_description="Encrypt and send files with a link that automatically expires to ensure your important documents don’t stay online forever." ynh_app_setting_set --key=custom_description --value="$custom_description" -max_file_size="2684354560" -ynh_app_setting_set --key=cmax_file_size --value="$max_file_size" +max_file_size=2684354560 +ynh_app_setting_set --key=max_file_size --value="$max_file_size" -max_download="100" +max_download=100 ynh_app_setting_set --key=max_download --value="$max_download" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index c4d752f..d688b75 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -20,7 +20,7 @@ fi if [ -z ${max_file_size:-} ]; then max_file_size="2684354560" - ynh_app_setting_set --key=cmax_file_size --value="$max_file_size" + ynh_app_setting_set --key=max_file_size --value="$max_file_size" fi if [ -z ${max_download:-} ]; then