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:
parent
d2268c03df
commit
6f14938e7b
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,11 @@ fi
|
||||||
|
|
||||||
url_path=$(ynh_app_setting_get --app="$app" --key=url_path)
|
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"
|
ynh_add_config --template="../conf/appsettings.json.example" --destination="$install_dir/config/appsettings.json"
|
||||||
|
|
||||||
chmod 600 "$install_dir/config/appsettings.json"
|
chmod 600 "$install_dir/config/appsettings.json"
|
||||||
|
|
Loading…
Add table
Reference in a new issue