From cba445b013c698b1fa3b2f610adadb82a69825c6 Mon Sep 17 00:00:00 2001 From: shakasan Date: Wed, 9 May 2018 09:46:55 +0200 Subject: [PATCH] small bug in Ygginit about npm dependency --- core_functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core_functions.sh b/core_functions.sh index 02c17f2..ef34278 100644 --- a/core_functions.sh +++ b/core_functions.sh @@ -107,6 +107,7 @@ function isMate () { function yggInit () { typeset ret_code + printf "[INIT]" runCmd "echo sience-config science-config/group select '$myHomedir ($myHomedir)' | sudo debconf-set-selections" \ "apply settings for science-config pkg" @@ -162,7 +163,7 @@ function yggInit () { if ! which npm >/dev/null; then printf "[INIT][NPM] not found, installing...\n" printf "\n[INIT][NPM] not found, installing...\n" &>> $logFile - installPackage apt "npm" + installPackage apt "nodejs" else printf "[INIT][NPM] found [ "$BOLDVERT"OK"$NORMAL" ] \n" fi