diff options
Diffstat (limited to '~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install')
-rw-r--r-- | ~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install b/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install new file mode 100644 index 000000000..d62d263d1 --- /dev/null +++ b/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install @@ -0,0 +1,15 @@ +#!/bin/sh + +export MODULES="libXnDeviceSensorV2KM.so libXnDeviceFile.so" + +post_install() { + for module in $MODULES; do + /usr/bin/niReg -r /usr/lib/$module /etc/primesense + done +} + +pre_remove() { + for module in $MODULES; do + /usr/bin/niReg -u /usr/lib/$module + done +} |