summaryrefslogtreecommitdiff
path: root/~lukeshu/openni-unstable-git/openni.install
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-21 23:25:46 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-21 23:25:46 -0500
commit71433bbe78ff52962cf5d3685a0322349d544025 (patch)
tree0e19e31d1fa7e9fbafb4eff0dffd2ee7ec70a0b8 /~lukeshu/openni-unstable-git/openni.install
parent423e97df503aa577e16b66db1cc54479088f0fe9 (diff)
This is a maintenence nightmare, but create separate PKGBUILDS for openni{-unstable,}{-git,}
Diffstat (limited to '~lukeshu/openni-unstable-git/openni.install')
-rw-r--r--~lukeshu/openni-unstable-git/openni.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/~lukeshu/openni-unstable-git/openni.install b/~lukeshu/openni-unstable-git/openni.install
new file mode 100644
index 000000000..8470f4512
--- /dev/null
+++ b/~lukeshu/openni-unstable-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
+}