1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redirect_ynh.git synced 2024-09-03 20:16:10 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-08-22 09:01:11 +02:00
parent 134207218c
commit 9301da5ebc

View file

@ -65,6 +65,13 @@ then
ynh_app_setting_set $app 'is_public'
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