From 519ef81cabcc2799d05a7472abd7733856962742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 2 May 2023 14:06:23 +0200 Subject: [PATCH] fix --- scripts/_common.sh | 3 +++ scripts/install | 7 +++++++ 2 files changed, 10 insertions(+) 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 #=================================================