From 5680f773128d5b6a076e41e466e4dd60994a4bcc Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 27 Apr 2020 13:22:30 +0200 Subject: [PATCH] add getopts --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index a404732..a5157d5 100644 --- a/scripts/install +++ b/scripts/install @@ -80,7 +80,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=23 ynh_install_app_dependencies $pkg_dependencies -ynh_exec_warn_less ynh_install_nodejs $nodejs_version +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version python3 -m pip install pipenv diff --git a/scripts/restore b/scripts/restore index 726b9ad..e468a0b 100644 --- a/scripts/restore +++ b/scripts/restore @@ -75,7 +75,7 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=75 # Define and install dependencies ynh_install_app_dependencies $pkg_dependencies -ynh_exec_warn_less ynh_install_nodejs $nodejs_version +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version python3 -m pip install pipenv diff --git a/scripts/upgrade b/scripts/upgrade index 65597ec..1fba3d8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -95,7 +95,7 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=83 ynh_install_app_dependencies $pkg_dependencies -ynh_exec_warn_less ynh_install_nodejs $nodejs_version +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version npm install -g configurable-http-proxy