mirror of
https://github.com/YunoHost-Apps/couchpotato_ynh.git
synced 2024-09-03 18:16:22 +02:00
Fix upgrade
This commit is contained in:
parent
eeac9ff671
commit
4a750a207a
1 changed files with 11 additions and 5 deletions
|
@ -61,6 +61,12 @@ if [ -z "$final_path" ]; then
|
|||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
fi
|
||||
|
||||
# If app_data_dir doesn't exist, create it
|
||||
if [ -z "$app_data_dir" ]; then
|
||||
app_data_dir=/home/yunohost.app/$app
|
||||
ynh_app_setting_set --app=$app --key=app_data_dir --value=$app_data_dir
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue