summaryrefslogtreecommitdiff
path: root/~lukeshu/openni-all/openni-git/openni.install
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-03-01 15:14:35 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-03-01 15:14:35 -0300
commit69b78ed95efd699c0dfbe588457234eee3ae9d9c (patch)
tree15b1c2902f0c430d015c9fc70ec7db6c042528f7 /~lukeshu/openni-all/openni-git/openni.install
parentd7d39087e97e5a5ff1ab2c40db618934633b594c (diff)
parentb5ef7ef5b393a1862d781791b9aa998d20636f59 (diff)
downloadabslibre-69b78ed95efd699c0dfbe588457234eee3ae9d9c.tar.gz
abslibre-69b78ed95efd699c0dfbe588457234eee3ae9d9c.tar.bz2
abslibre-69b78ed95efd699c0dfbe588457234eee3ae9d9c.zip
Merge branch 'master' of ssh://gparabola/abslibre
Diffstat (limited to '~lukeshu/openni-all/openni-git/openni.install')
-rw-r--r--~lukeshu/openni-all/openni-git/openni.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/~lukeshu/openni-all/openni-git/openni.install b/~lukeshu/openni-all/openni-git/openni.install
new file mode 100644
index 000000000..8470f4512
--- /dev/null
+++ b/~lukeshu/openni-all/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
+}