diff options
Diffstat (limited to '~lukeshu/openni-module-sensorkinect-git/sensorkinect.install')
-rw-r--r-- | ~lukeshu/openni-module-sensorkinect-git/sensorkinect.install | 12 |
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 } |