mirror of
https://github.com/LPJon/cwpfixes.git
synced 2026-09-10 22:20:47 -05:00
Update install_terminal
changed ~/.bashrc to $HOME/.bashrc to use system variable for current user.
This commit is contained in:
@@ -26,7 +26,7 @@ elif [ "$usenvm" == "y" ]; then
|
|||||||
if [ ! -d "$HOME/.nvm" ]; then
|
if [ ! -d "$HOME/.nvm" ]; then
|
||||||
yum -y install curl
|
yum -y install curl
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
||||||
source ~/.bashrc
|
source $HOME/.bashrc
|
||||||
nvm install "$nodeversion"
|
nvm install "$nodeversion"
|
||||||
nvm use "$nodeversion"
|
nvm use "$nodeversion"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user