This commit is contained in:
Éric Gaspar
2024-11-07 16:11:14 +01:00
parent 2e131bc450
commit d3834d4bb3
6 changed files with 13 additions and 17 deletions

View File

@ -16,8 +16,8 @@ ynh_app_setting_set --key=custom_description --value="$custom_description"
max_file_size=100
ynh_app_setting_set --key=max_file_size --value="$max_file_size"
max_download=100
ynh_app_setting_set --key=max_download --value="$max_download"
max_downloads=100
ynh_app_setting_set --key=max_downloads --value="$max_downloads"
#=================================================
# INSTALL DEPENDENCIES

View File

@ -23,9 +23,9 @@ if [ -z ${max_file_size:-} ]; then
ynh_app_setting_set --key=max_file_size --value="$max_file_size"
fi
if [ -z ${max_download:-} ]; then
max_download=100
ynh_app_setting_set --key=max_download --value="$max_download"
if [ -z ${max_downloads:-} ]; then
max_downloads=100
ynh_app_setting_set --key=max_downloads --value="$max_downloads"
fi
#=================================================