From 530270179bcdf55ca1d2f70f92400cb55faf45ba Mon Sep 17 00:00:00 2001 From: FlorianGareis Date: Wed, 6 Mar 2024 21:07:22 +0000 Subject: [PATCH] Create directory before executing script --- nodejs/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nodejs/run.sh b/nodejs/run.sh index dd2b49a..ac68e80 100755 --- a/nodejs/run.sh +++ b/nodejs/run.sh @@ -11,6 +11,7 @@ RESET='\033[0m' printf "$${BOLD}Installing nvm!$${RESET}\n" export NVM_DIR="$${INSTALL_PREFIX}/nvm" +mkdir -p "$NVM_DIR" script="$(curl -sS -o- "https://raw.githubusercontent.com/nvm-sh/nvm/$${NVM_VERSION}/install.sh" 2>&1)" if [ $? -ne 0 ]; then