summaryrefslogtreecommitdiff
path: root/~lukeshu/openni/openni.install
diff options
context:
space:
mode:
Diffstat (limited to '~lukeshu/openni/openni.install')
-rw-r--r--~lukeshu/openni/openni.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/~lukeshu/openni/openni.install b/~lukeshu/openni/openni.install
new file mode 100644
index 000000000..8470f4512
--- /dev/null
+++ b/~lukeshu/openni/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
+}