Skip to content
Snippets Groups Projects
Commit 40085c5c authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't need the remove script

parent 9a989d47
No related branches found
No related tags found
No related merge requests found
......@@ -82,16 +82,6 @@ function remove_nodejs {
fi
sed -i "/install_${1}/d" $NODEJS_INSTALLED_APPS_FILE
if ! grep "install_" $NODEJS_INSTALLED_APPS_FILE; then
cat <<EOF > /root/remove-nodejs.sh
#!/bin/bash
PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin"
NODE_PATH="/usr/lib/node_modules"
npm uninstall -g --save
exit 0
EOF
chmod +x /root/remove-nodejs.sh
/root/remove-nodejs.sh
apt-get -yq remove --purge nodejs
if [ -f /usr/bin/nodejs ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment