summaryrefslogtreecommitdiff
path: root/~lukeshu/openni-git/openni.install
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-16 00:23:11 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-16 00:23:11 -0500
commit0d2055f83f7240e2c03193e340c3db48ed160a90 (patch)
tree109060a49ffd3440022202daf2da99935adb61b5 /~lukeshu/openni-git/openni.install
parentb40a3c09328e91f59bdf9da38bd3150166d777ac (diff)
downloadabslibre-0d2055f83f7240e2c03193e340c3db48ed160a90.tar.gz
abslibre-0d2055f83f7240e2c03193e340c3db48ed160a90.tar.bz2
abslibre-0d2055f83f7240e2c03193e340c3db48ed160a90.zip
Add openni, based on openni-git from AUR
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
+}