From 2050f3657d237fb3b0d5e0d24ec86e1f34a0cd67 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 25 Mar 2021 20:22:23 +0100 Subject: [PATCH] Fix --- scripts/_common.sh | 5 ++--- scripts/install | 5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 2047787..e2f042b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,11 +4,11 @@ # COMMON VARIABLES #================================================= -nodejs_version=14 - # dependencies used by the app pkg_dependencies="postgresql postgresql-contrib" +nodejs_version=14 + #================================================= # PERSONAL HELPERS #================================================= @@ -21,7 +21,6 @@ pkg_dependencies="postgresql postgresql-contrib" # FUTURE OFFICIAL HELPERS #================================================= - # Execute a command as another user # usage: exec_as USER COMMAND [ARG ...] exec_as() { diff --git a/scripts/install b/scripts/install index 7a8b325..196639e 100644 --- a/scripts/install +++ b/scripts/install @@ -62,9 +62,10 @@ ynh_app_setting_set --app=$app --key=port --value=$port #================================================= ynh_script_progression --message="Installing dependencies..." --time --weight=1 -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies -ynh_install_nodejs --nodejs_version=$nodejs_version +# Install Nodejs +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version #================================================= # CREATE A MYSQL DATABASE