mirror of
https://github.com/YunoHost-Apps/sonarr_ynh.git
synced 2024-09-03 20:26:19 +02:00
Fix upgrade
This commit is contained in:
parent
073bc71449
commit
f9cb23fa1e
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
if [ -d "$data_dir/logs" ]; then
|
||||
ynh_secure_remove --file="/var/log/$app"
|
||||
if [ ! -L "$data_dir/logs" ]; then
|
||||
ynh_secure_remove --file="$data_dir/logs"
|
||||
ln -s "/var/log/$app" "$data_dir/logs"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue