install npm 6
This commit is contained in:
parent
de4e0dbb84
commit
23f622bf49
|
@ -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 &&\
|
||||
|
|
Loading…
Reference in New Issue