1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lufi_ynh.git synced 2024-09-03 19:36:28 +02:00
This commit is contained in:
Éric Gaspar 2023-04-18 13:43:15 +02:00
parent 019feb62e5
commit b225edb4da
3 changed files with 1 additions and 11 deletions

View file

@ -59,7 +59,7 @@
# Max file size, in octets # Max file size, in octets
# You can write it 100*1024*1024 # You can write it 100*1024*1024
# optional, no default # optional, no default
__MAX_SIZE_SET__max_file_size => __MAX_FILE_SIZE__*1024*1024, max_file_size => __MAX_FILE_SIZE__*1024*1024,
# If you want to have piwik statistics, provide a piwik image tracker # If you want to have piwik statistics, provide a piwik image tracker
# Only the image tracker is allowed, no javascript # Only the image tracker is allowed, no javascript

View file

@ -54,11 +54,6 @@ then
ldap="" ldap=""
fi fi
max_size_set=""
if [ $max_file_size -eq 0 ]; then # Comment the limitation line if no limit
max_size_set="#"
fi
ynh_add_config --template="../conf/lufi.conf.template" --destination="$install_dir/lufi.conf" ynh_add_config --template="../conf/lufi.conf.template" --destination="$install_dir/lufi.conf"
chmod 600 $install_dir/lufi.conf chmod 600 $install_dir/lufi.conf

View file

@ -70,11 +70,6 @@ then
ldap="" ldap=""
fi fi
max_size_set=""
if [ $max_file_size -eq 0 ]; then # Comment the limitation line if no limit
max_size_set="#"
fi
ynh_add_config --template="../conf/lufi.conf.template" --destination="$install_dir/lufi.conf" ynh_add_config --template="../conf/lufi.conf.template" --destination="$install_dir/lufi.conf"
chmod 600 $install_dir/lufi.conf chmod 600 $install_dir/lufi.conf