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