Hello, I took some time to try your script this morning, and I am having issues when running the bash script.
I created a new scaleway server (I tried both with ubuntu 20.04 and 18.04), and when I run the script right after nvm installation I hit the /root/.bashrc: line 6: PS1: unbound variable error
Full error log
SCRIPT: NVM not found, installing.
=> Downloading nvm from git to '/root/.nvm'
=> Cloning into '/root/.nvm'...
remote: Enumerating objects: 290, done.
remote: Counting objects: 100% (290/290), done.
remote: Compressing objects: 100% (257/257), done.
remote: Total 290 (delta 34), reused 110 (delta 20), pack-reused 0
Receiving objects: 100% (290/290), 163.37 KiB | 369.00 KiB/s, done.
Resolving deltas: 100% (34/34), done.
=> Compressing and cleaning up git repository
=> Appending nvm source string to /root/.bashrc
=> Appending bash_completion source string to /root/.bashrc
=> Close and reopen your terminal to start using nvm or run the following to use it now:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
/root/.bashrc: line 6: PS1: unbound variable
From @pradel in Discord:
Hello, I took some time to try your script this morning, and I am having issues when running the bash script.
I created a new scaleway server (I tried both with ubuntu 20.04 and 18.04), and when I run the script right after nvm installation I hit the /root/.bashrc: line 6: PS1: unbound variable error
Full error log