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