summaryrefslogtreecommitdiff
path: root/~lukeshu/openni-module-sensorkinect-git/sensorkinect.install
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-12-11 18:54:11 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-12-11 18:54:11 -0500
commit60a4d33c997dd83367bd9ac8629dafab5343129a (patch)
treed53a93f32e444c8a6d747486540cde58762d28bc /~lukeshu/openni-module-sensorkinect-git/sensorkinect.install
parent84c3f701c603dc6a665d44819193190da531fd8c (diff)
downloadabslibre-60a4d33c997dd83367bd9ac8629dafab5343129a.tar.gz
abslibre-60a4d33c997dd83367bd9ac8629dafab5343129a.tar.bz2
abslibre-60a4d33c997dd83367bd9ac8629dafab5343129a.zip
work on openni-module-sensorkinect
Diffstat (limited to '~lukeshu/openni-module-sensorkinect-git/sensorkinect.install')
-rw-r--r--~lukeshu/openni-module-sensorkinect-git/sensorkinect.install12
1 files changed, 6 insertions, 6 deletions
diff --git a/~lukeshu/openni-module-sensorkinect-git/sensorkinect.install b/~lukeshu/openni-module-sensorkinect-git/sensorkinect.install
index 0928e3dd9..d62d263d1 100644
--- a/~lukeshu/openni-module-sensorkinect-git/sensorkinect.install
+++ b/~lukeshu/openni-module-sensorkinect-git/sensorkinect.install
@@ -1,15 +1,15 @@
+#!/bin/sh
+
+export MODULES="libXnDeviceSensorV2KM.so libXnDeviceFile.so"
+
post_install() {
- MODULES="libXnDeviceSensorV2KM.so libXnDeviceFile.so"
- for module in $MODULES
- do
+ for module in $MODULES; do
/usr/bin/niReg -r /usr/lib/$module /etc/primesense
done
}
pre_remove() {
- MODULES="libXnDeviceSensorV2KM.so libXnDeviceFile.so"
- for module in $MODULES
- do
+ for module in $MODULES; do
/usr/bin/niReg -u /usr/lib/$module
done
}