diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-22 00:07:29 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-22 00:07:29 -0500 |
commit | 00d7d1f1b8496cfe48fa7c41070309304b1ae75d (patch) | |
tree | d4ae3d3be19a6b95f6328a3ce8d5151453f0423e /~lukeshu/openni-module-sensorkinect-git/sensorkinect.install | |
parent | 8781e67191e34888d46e681a62d508f403540eca (diff) | |
download | abslibre-00d7d1f1b8496cfe48fa7c41070309304b1ae75d.tar.gz abslibre-00d7d1f1b8496cfe48fa7c41070309304b1ae75d.tar.bz2 abslibre-00d7d1f1b8496cfe48fa7c41070309304b1ae75d.zip |
Move openni-{primesenseor,sensorkinect} to openni-module-*
Diffstat (limited to '~lukeshu/openni-module-sensorkinect-git/sensorkinect.install')
-rw-r--r-- | ~lukeshu/openni-module-sensorkinect-git/sensorkinect.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/~lukeshu/openni-module-sensorkinect-git/sensorkinect.install b/~lukeshu/openni-module-sensorkinect-git/sensorkinect.install new file mode 100644 index 000000000..0928e3dd9 --- /dev/null +++ b/~lukeshu/openni-module-sensorkinect-git/sensorkinect.install @@ -0,0 +1,15 @@ +post_install() { + MODULES="libXnDeviceSensorV2KM.so libXnDeviceFile.so" + 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 + /usr/bin/niReg -u /usr/lib/$module + done +} |