1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/agendav_ynh.git synced 2024-09-03 20:36:12 +02:00

Add default initialization for disablecacheck

This commit is contained in:
Jean-Baptiste Holcroft 2017-11-22 23:39:52 +01:00
parent 0553ce4b9c
commit 625324cf8b

View file

@ -59,6 +59,12 @@ if [ -z "$db_name" ]; then
ynh_app_setting_set "$app" db_name "$db_name"
fi
# If disablecacheck doesn't exist, create it
if [ -z "$disablecacheck" ]; then
disablecacheck=0
ynh_app_setting_set "$app" disablecacheck "$disablecacheck"
fi
# If final_path doesn't exist, create it
if [ -z "$final_path" ]; then
final_path=/var/www/$app