From c3d1e87cccc6394af58d64c70394b4e8573c81cd Mon Sep 17 00:00:00 2001 From: Valentin Date: Fri, 23 Feb 2024 21:30:01 +0100 Subject: [PATCH] install directus 10 --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index c071f19..5396966 100644 --- a/install.sh +++ b/install.sh @@ -187,8 +187,8 @@ if [[ "$answer" == "y" ]]; then [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" &&\ [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" &&\ nvm install v20' $username - ln -s /home/$username/.nvm/versions/node/v20.11.1/bin/node /usr/bin/node - ln -s /home/$username/.nvm/versions/node/v20.11.1/bin/npm /usr/bin/npm + ln -sf /home/$username/.nvm/versions/node/v20.11.1/bin/node /usr/bin/node + ln -sf /home/$username/.nvm/versions/node/v20.11.1/bin/npm /usr/bin/npm echo -e "${PURPLE}${BOLD}Node installed${RESET}"; fi