mirror of
https://github.com/YunoHost-Apps/armadietto_ynh.git
synced 2024-09-03 18:06:18 +02:00
fix upgrade
This commit is contained in:
parent
2e4e2c03f3
commit
6f12e1bb93
1 changed files with 7 additions and 1 deletions
|
@ -57,10 +57,16 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app
|
|||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
|
||||
# If is_signup doesn't exist, create it
|
||||
if [ -z "$is_signup" ]; then
|
||||
is_signup="true"
|
||||
ynh_app_setting_set --app=$app --key=is_signup --value=$is_signup
|
||||
fi
|
||||
|
||||
# Cleaning legacy permissions
|
||||
if ynh_legacy_permissions_exists; then
|
||||
ynh_legacy_permissions_delete_all
|
||||
|
||||
ynh_app_setting_delete --app=$app --key=is_public
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue