install npm 6

This commit is contained in:
Valentin 2024-02-23 19:22:45 +01:00
parent de4e0dbb84
commit 23f622bf49
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ echo -e "${PURPLE}${BOLD}Install NPM ? (y/n) ${RESET}"
read answer
if [[ "$answer" == "y" ]]; then
if [[ -z "$username" ]]; then
username = $(getent passwd 1000 | cut -d: -f1)
username=$(getent passwd 1000 | cut -d: -f1)
echo $username
fi
su -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash &&\