1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wekan_ynh.git synced 2024-09-03 20:36:09 +02:00

Nodejs upgrade from 8.9.3 to 8.15.1

This commit is contained in:
yalh76 2019-03-06 05:29:12 +01:00
parent c0ae0697a3
commit cfd7fbd818
3 changed files with 5 additions and 4 deletions

View file

@ -100,7 +100,7 @@ ynh_print_info "Installing dependencies..."
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
ynh_print_info "Installing nodejs ..."
ynh_install_nodejs 8.9.3
ynh_install_nodejs 8.15.1
ynh_print_info "Installing mongodb dependencies ..."
ynh_install_app_dependencies "mongodb mongodb-server"

View file

@ -85,7 +85,7 @@ find "$final_path" -type d -print0 | xargs -0 chmod 750
ynh_print_info "Reinstalling dependencies..."
# Define and install dependencies
ynh_install_nodejs 8.9.3
ynh_install_nodejs 8.15.1
# Install mongodb
ynh_install_app_dependencies "mongodb mongodb-server"

View file

@ -68,8 +68,9 @@ if ynh_version_gt "0.45-3" "${previous_version}" ; then
fi
if ynh_version_gt "0.77-2" "${previous_version}" ; then
ynh_install_nodejs 8.9.3
ynh_use_nodejs
ynh_remove_nodejs
ynh_install_nodejs 8.15.1
ynh_use_nodejs
# Create a dedicated systemd config
ynh_replace_string "__ENV_PATH__" "$nodejs_path" "../conf/systemd.service"
ynh_replace_string "__DB_NAME__" "$db_name" "../conf/systemd.service"