From 77c655e412dc22e226693212ae08938063967069 Mon Sep 17 00:00:00 2001 From: Valentin Date: Mon, 26 Feb 2024 16:16:13 +0100 Subject: [PATCH] www-data node in its folder 5 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 4a0fd0d..4cf4653 100644 --- a/install.sh +++ b/install.sh @@ -195,7 +195,7 @@ if [[ "$answer" == "y" ]]; then mkdir /var/www/node chown www-data:www-data /var/www/node - su -s /bin/bash -c 'curl -o /var/www/node//install.sh https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash &&\ + su -s /bin/bash -c 'curl -o /var/www/node/install.sh https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash &&\ export NVM_DIR="$HOME/node/.nvm" &&\ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" &&\ [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" &&\