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:
parent
cd19d07f5f
commit
d8cde60a71
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue