diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-07-06 18:31:18 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-07-06 18:31:18 -0600 |
commit | 55677d14e4829d6a7859333d3560db346c228fdf (patch) | |
tree | 1e8d9fd82cd459b95a1968005f9f397773cdfac6 /~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install | |
parent | e7cffdc291186ce0e021c7595bb5f33298c9734f (diff) | |
download | abslibre-55677d14e4829d6a7859333d3560db346c228fdf.tar.gz abslibre-55677d14e4829d6a7859333d3560db346c228fdf.tar.bz2 abslibre-55677d14e4829d6a7859333d3560db346c228fdf.zip |
Revert fauno deleting everything. The actual changes he made are:
- delete pcr/ruby-haml/ruby-yard (improperly nested)
- update pcr/transmission-remote-cli
- update social/asterisk
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 +} |