]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - debian/tinyos-tools.postinst
Run tos-install-jni at postinstall time.
[tinyos-2.x.git] / debian / tinyos-tools.postinst
diff --git a/debian/tinyos-tools.postinst b/debian/tinyos-tools.postinst
new file mode 100644 (file)
index 0000000..6c78b02
--- /dev/null
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+       sudo tos-install-jni
+fi