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

Update upgrade

This commit is contained in:
Éric Gaspar 2024-06-02 19:26:20 +02:00
parent 590030bdc2
commit 491797183b

View file

@ -10,12 +10,6 @@ source _common.sh
source ynh_docker_image_extract
source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# STANDARD UPGRADE STEPS
#=================================================
@ -29,12 +23,9 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" --li
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..."
ynh_script_progression --message="Upgrading source files..."
_download_vaultwarden_from_docker
fi
_download_vaultwarden_from_docker
#=================================================
# UPDATE A CONFIG FILE