diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-22 22:41:02 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-22 22:41:02 -0500 |
commit | 084b6768e5377dcde6e361837fce5f38ba237fac (patch) | |
tree | ac9a9e51bb4541f56884e0051cd466e22fd0f678 /~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install | |
parent | 7f8b2c28a13a5012b75ad50af920cb1c8aa4e986 (diff) | |
download | abslibre-084b6768e5377dcde6e361837fce5f38ba237fac.tar.gz abslibre-084b6768e5377dcde6e361837fce5f38ba237fac.tar.bz2 abslibre-084b6768e5377dcde6e361837fce5f38ba237fac.zip |
move ~lukeshu/openni* to ~lukeshu/openni/openni*
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 +} |