mirror of
https://github.com/YunoHost-Apps/reverseproxy_ynh.git
synced 2024-09-03 20:16:23 +02:00
Update upgrade
This commit is contained in:
parent
134207218c
commit
9301da5ebc
1 changed files with 7 additions and 0 deletions
|
@ -65,6 +65,13 @@ then
|
||||||
ynh_app_setting_set $app 'is_public'
|
ynh_app_setting_set $app 'is_public'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Migrate legacy permissions to new system
|
||||||
|
if ynh_legacy_permissions_exists
|
||||||
|
then
|
||||||
|
ynh_legacy_permissions_delete_all
|
||||||
|
|
||||||
|
ynh_app_setting_delete --app=$app --key=is_public
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||||
|
|
Loading…
Add table
Reference in a new issue