1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bonfire_ynh.git synced 2024-09-03 18:16:01 +02:00

use nodejs version from _common.sh

This commit is contained in:
lapineige 2024-01-20 16:27:40 +01:00 committed by GitHub
parent b4468b2222
commit 6fb266bf74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,12 @@
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
ynh_install_nodejs --nodejs_version=16.13.0 # TODO : need to decide of a better version #=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing nodejs..."
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
ynh_use_nodejs ynh_use_nodejs
#================================================= #=================================================