File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
# curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/uninstall.sh | sudo sh
4
4
5
5
6
- WEBIDE_ROOT=" /usr/share/adafruit"
6
+ WEBIDE_ROOT=" /usr/share/adafruit/webide "
7
7
WEBIDE_HOME=" /home/webide"
8
8
NODE_PATH=" "
9
9
@@ -31,11 +31,13 @@ systemctl daemon-reload
31
31
systemctl reset-failed
32
32
33
33
echo " **** Removing the WebIDE Folder ****"
34
- rm -rf " $WEBIDE_ROOT "
34
+ shopt -s extglob
35
+ rm -rf " $WEBIDE_ROOT " /! (repositories)
35
36
echo " **** Removing webide user ****"
36
37
userdel -r webide
37
38
38
39
echo " **** The Adafruit WebIDE is now uninstalled! ****"
40
+ echo " **** Your code and repositories remain at $WEBIDE_ROOT ****"
39
41
echo " **** During the installation process, there were a few ****"
40
42
echo " **** libraries installed that we did not uninstall as ****"
41
43
echo " **** we're not able to determine if other applications are dependent ****"
You can’t perform that action at this time.
0 commit comments