File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,7 @@ echo 'webide "node" "service adafruit-webide.sh restart" ""' >> /etc/restartd.co
15
15
16
16
cd /etc/init.d
17
17
18
- NODE_PATH=" "
19
- ARCH=$( dpkg --print-architecture)
20
- if [ $ARCH = armhf ]; then
21
- NODE_PATH=" \/usr\/share\/adafruit\/webide\/bin\/node_hf\/node"
22
- chmod +x " $WEBIDE_ROOT /bin/node_hf/node"
23
- else
24
- NODE_PATH=" \/usr\/share\/adafruit\/webide\/bin\/node_sf\/node"
25
- chmod +x " $WEBIDE_ROOT /bin/node_sf/node"
26
- fi
18
+ NODE_PATH=" /usr/local/bin/node"
27
19
sed -i " s/NODE_PATH/$NODE_PATH /g" adafruit-webide.sh
28
20
29
21
update-rc.d adafruit-webide.sh defaults
@@ -58,4 +50,4 @@ echo "**** The Adafruit WebIDE is installed and running! ****"
58
50
echo " **** Commands: sudo service adafruit-webide.sh {start,stop,restart} ****"
59
51
echo " **** Navigate to http://$( hostname) .local$PORT_USED to use the WebIDE"
60
52
61
- exit 0
53
+ exit 0
You can’t perform that action at this time.
0 commit comments