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

Change to NODEJS_VERSION var

This commit is contained in:
yalh76 2021-04-08 20:36:28 +02:00
parent 46dc4c7b9b
commit 6d93ffaa17
4 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
# dependencies used by the app
pkg_dependencies=""
nodejsversion=12.16.3
NODEJS_VERSION=12.16.3
#=================================================
# PERSONAL HELPERS

View file

@ -75,7 +75,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port
ynh_script_progression --message="Installing dependencies..."
ynh_install_app_dependencies $pkg_dependencies
ynh_install_nodejs --nodejs_version=$nodejsversion
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_use_nodejs
ynh_install_mongo

View file

@ -87,7 +87,7 @@ ynh_script_progression --message="Reinstalling dependencies..."
# Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies
ynh_install_nodejs --nodejs_version=$nodejsversion
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_use_nodejs
ynh_install_mongo

View file

@ -175,7 +175,7 @@ ynh_script_progression --message="Upgrading dependencies..."
ynh_install_app_dependencies $pkg_dependencies
ynh_remove_nodejs
ynh_install_nodejs --nodejs_version=$nodejsversion
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_use_nodejs
ynh_install_mongo