Permalink
Browse files

require confirmation to uninstall

  • Loading branch information...
1 parent 54b3940 commit 260dfe06d9ede3e8d43a4104548846132f23e527 Justin Cooper committed Oct 16, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 scripts/uninstall.sh
View
3 scripts/uninstall.sh 100644 → 100755
@@ -7,6 +7,9 @@ WEBIDE_ROOT="/usr/share/adafruit"
WEBIDE_HOME="/home/webide"
NODE=$(which node)
+read -p "Thank you for using the WebIDE. Uninstall the WebIDE [y/n]? " RESPONSE
+[[ $RESPONSE =~ [yY] ]] || exit 1
+
echo "**** Removing restartd WebIDE configuration ****"
sed -i '/adafruit-webide.sh/ d' /etc/restartd.conf

0 comments on commit 260dfe0

Please sign in to comment.