mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
add step to remove old nodejs version
This commit is contained in:
parent
7d7b23c47e
commit
86df6548ed
1 changed files with 8 additions and 2 deletions
|
@ -125,6 +125,12 @@ ynh_script_progression --message="Installing dependencies..." --weight=12
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
|
if ynh_version_gt "1.0.3~ynh1" "${previous_version}" ; then
|
||||||
|
ynh_script_progression --message="Remove previous NodeJS"
|
||||||
|
ynh_remove_nodejs
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
ynh_install_nodejs --nodejs_version=$nodejs_version
|
ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue