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

remove yarn on upgrade + typo

This commit is contained in:
lapineige 2023-02-06 17:21:31 +01:00 committed by GitHub
parent cd19d07f5f
commit d8cde60a71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ fi
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1
# Stop bservice before backup, to not loose message in case of failed upgrade and restore
# Stop service before backup, to not loose message in case of failed upgrade and restore
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped"
#=================================================
@ -121,6 +121,10 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=5
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
# REMOVE YARN (upgrade from 13.0.x to 13.1.x)
ynh_script_progression --message="Removing old version dependency..."
ynh_secure_remove --file="$final_path/.yarn"
#=================================================
# NGINX CONFIGURATION
#=================================================