summaryrefslogtreecommitdiff
path: root/~lukeshu/openni-all/openni/openni.install
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-01-22 22:41:02 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-01-22 22:41:02 -0500
commit084b6768e5377dcde6e361837fce5f38ba237fac (patch)
treeac9a9e51bb4541f56884e0051cd466e22fd0f678 /~lukeshu/openni-all/openni/openni.install
parent7f8b2c28a13a5012b75ad50af920cb1c8aa4e986 (diff)
downloadabslibre-084b6768e5377dcde6e361837fce5f38ba237fac.tar.gz
abslibre-084b6768e5377dcde6e361837fce5f38ba237fac.tar.bz2
abslibre-084b6768e5377dcde6e361837fce5f38ba237fac.zip
move ~lukeshu/openni* to ~lukeshu/openni/openni*
Diffstat (limited to '~lukeshu/openni-all/openni/openni.install')
-rw-r--r--~lukeshu/openni-all/openni/openni.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/~lukeshu/openni-all/openni/openni.install b/~lukeshu/openni-all/openni/openni.install
new file mode 100644
index 000000000..8470f4512
--- /dev/null
+++ b/~lukeshu/openni-all/openni/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
+}