1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kavita_ynh.git synced 2024-09-03 19:26:30 +02:00

fix url_path storage

This commit is contained in:
OniriCorpe 2023-08-22 21:56:03 +02:00
parent d2268c03df
commit 6f14938e7b

View file

@ -55,6 +55,11 @@ fi
url_path=$(ynh_app_setting_get --app="$app" --key=url_path)
if [ -z "$url_path" ]; then
url_path=${path#/}
ynh_app_setting_set --app="$app" --key=url_path --value="$url_path"
fi
ynh_add_config --template="../conf/appsettings.json.example" --destination="$install_dir/config/appsettings.json"
chmod 600 "$install_dir/config/appsettings.json"