Create directory before executing script

pull/183/head
FlorianGareis 1 year ago
parent 472d80ade6
commit 530270179b
No known key found for this signature in database

@ -11,6 +11,7 @@ RESET='\033[0m'
printf "$${BOLD}Installing nvm!$${RESET}\n" printf "$${BOLD}Installing nvm!$${RESET}\n"
export NVM_DIR="$${INSTALL_PREFIX}/nvm" 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)" script="$(curl -sS -o- "https://raw.githubusercontent.com/nvm-sh/nvm/$${NVM_VERSION}/install.sh" 2>&1)"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then

Loading…
Cancel
Save