diff --git a/scripts/_common.sh b/scripts/_common.sh index 944a65e..a862ce1 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,6 +4,9 @@ # COMMON VARIABLES #================================================= +# nodejs version +nodejs_version=16 + #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/install b/scripts/install index 7b62ca7..8c00bc8 100755 --- a/scripts/install +++ b/scripts/install @@ -15,6 +15,13 @@ source /usr/share/yunohost/helpers key=$(ynh_string_random --length=64) +#================================================= +# INSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Installing dependencies..." --weight=1 + +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #=================================================