second attempt at uninstall prompt

This commit is contained in:
Justin Cooper 2012-10-16 23:39:21 -05:00
parent 501bc0f2a4
commit 9be7f945c2

View file

@ -8,7 +8,7 @@ WEBIDE_HOME="/home/webide"
NODE=$(which node)
read -p "Thank you for using the WebIDE. Uninstall the WebIDE [y/n]? " RESPONSE
[[ $RESPONSE == "y" ]] || exit 1
[[ $RESPONSE =~ ^[Yy]$ ]] || exit 1
echo "**** Removing restartd WebIDE configuration ****"
sed -i '/adafruit-webide.sh/ d' /etc/restartd.conf