nvm problem
This commit is contained in:
parent
c2766585d4
commit
dfc62d2a24
|
@ -12,8 +12,12 @@ scuttlebutt() {
|
|||
sudo apt-get install -y socat python3-dev libtool python3-setuptools autoconf automake
|
||||
|
||||
# Install nvm
|
||||
[[ ! $(which nvm) ]] && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash && source ~/.bashrc && nvm install --lts
|
||||
|
||||
if [[ ! $(which nvm) ]]; then
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
|
||||
source ~/.bashrc
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
nvm install --lts
|
||||
fi
|
||||
# Install ssb-server and config in ~/.ssb_astroport
|
||||
[[ ! -d ~/.ssb_astroport ]] && mkdir -p ~/.ssb_astroport
|
||||
cd ~/.ssb_astroport
|
||||
|
|
Loading…
Reference in New Issue