mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
fix
This commit is contained in:
parent
019feb62e5
commit
b225edb4da
3 changed files with 1 additions and 11 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue