second attempt at uninstall prompt
This commit is contained in:
parent
501bc0f2a4
commit
9be7f945c2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue