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

upgrade to nodejs 8.14.1

This commit is contained in:
yalh76 2019-03-06 05:39:46 +01:00
parent cfd7fbd818
commit d1ccc3322c
3 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ ynh_print_info "Installing dependencies..."
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script ### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
ynh_print_info "Installing nodejs ..." ynh_print_info "Installing nodejs ..."
ynh_install_nodejs 8.15.1 ynh_install_nodejs 8.14.1
ynh_print_info "Installing mongodb dependencies ..." ynh_print_info "Installing mongodb dependencies ..."
ynh_install_app_dependencies "mongodb mongodb-server" 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..." ynh_print_info "Reinstalling dependencies..."
# Define and install dependencies # Define and install dependencies
ynh_install_nodejs 8.15.1 ynh_install_nodejs 8.14.1
# Install mongodb # Install mongodb
ynh_install_app_dependencies "mongodb mongodb-server" ynh_install_app_dependencies "mongodb mongodb-server"

View file

@ -69,7 +69,7 @@ fi
if ynh_version_gt "0.77-2" "${previous_version}" ; then if ynh_version_gt "0.77-2" "${previous_version}" ; then
ynh_remove_nodejs ynh_remove_nodejs
ynh_install_nodejs 8.15.1 ynh_install_nodejs 8.14.1
ynh_use_nodejs ynh_use_nodejs
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_replace_string "__ENV_PATH__" "$nodejs_path" "../conf/systemd.service" ynh_replace_string "__ENV_PATH__" "$nodejs_path" "../conf/systemd.service"