Permalink
Browse files

initial build_deb.sh and fix postinst

  • Loading branch information...
1 parent 71efdd7 commit 74d23dfdb069d2480dc8f929cd5b14718a5080ff Justin Cooper committed Apr 12, 2013
Showing with 7 additions and 0 deletions.
  1. +5 −0 scripts/build_deb.sh
  2. +2 −0 scripts/deb/postinst
View
@@ -0,0 +1,5 @@
+cp -r /home/pi/Adafruit-WebIDE/scripts/deb /tmp/deb
+cp -r /home/pi/Adafruit-WebIDE /tmp/deb/webide
+cd /tmp/deb
+cmake .
+make package
View
@@ -13,6 +13,8 @@ chown -R webide:webide "$WEBIDE_ROOT"
echo 'webide "node" "service adafruit-webide.sh restart" ""' >> /etc/restartd.conf
+cd /etc/init.d
+
NODE_PATH=""
ARCH=$(dpkg --print-architecture)
if [ $ARCH = armhf ]; then

0 comments on commit 74d23df

Please sign in to comment.