summaryrefslogtreecommitdiff
path: root/~lukeshu/openni-git/openni.install
diff options
context:
space:
mode:
Diffstat (limited to '~lukeshu/openni-git/openni.install')
-rw-r--r--~lukeshu/openni-git/openni.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/~lukeshu/openni-git/openni.install b/~lukeshu/openni-git/openni.install
new file mode 100644
index 000000000..8470f4512
--- /dev/null
+++ b/~lukeshu/openni-git/openni.install
@@ -0,0 +1,11 @@
+post_install() {
+ MODULES="libnimMockNodes.so libnimCodecs.so libnimRecorder.so"
+ for module in $MODULES
+ do
+ /usr/bin/niReg /usr/lib/$module
+ done
+}
+
+pre_remove() {
+ rm /var/lib/ni/modules.xml
+}