1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vaultwarden_ynh.git synced 2024-09-03 18:26:31 +02:00

Fix upgrade

This commit is contained in:
yalh76 2021-04-22 21:19:02 +02:00
parent 5bea7a5128
commit 7d3d38b040

View file

@ -54,8 +54,6 @@ if ! ynh_permission_exists --permission="api"; then
ynh_permission_create --permission="api" --url="/api" --additional_urls="/identity/connect/token" --allowed="visitors" --auth_header="false" --show_tile="false" --protected="true"
fi
ynh_remove_logrotate
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================
@ -71,6 +69,8 @@ ynh_clean_setup () {
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
ynh_remove_logrotate
#=================================================
# STANDARD UPGRADE STEPS
#=================================================