Node.js: uninstall: Change /home/pi to ~/

pull/953/head
Botspot 4 years ago
parent 8032864403
commit 40002d3539

@ -21,4 +21,4 @@ nvm uninstall default || error "Failed to purge Node.JS!"
sudo rm -rf "$NVM_DIR" sudo rm -rf "$NVM_DIR"
#remove nvm stuff from bashrc #remove nvm stuff from bashrc
sed -i '/NVM_DIR/d' /home/pi/.bashrc sed -i '/NVM_DIR/d' ~/.bashrc

Loading…
Cancel
Save