diff options
author | root <root@rshg054.dnsready.net> | 2011-12-12 23:14:53 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-12 23:14:53 +0000 |
commit | cb9c375209c236c16557878a1b864f91de27b88d (patch) | |
tree | b0a7d6c0d887620c16ad1a95c9dfef632cb1b877 /~lukeshu/openni-module-sensorkinect-git/sensorkinect.install | |
parent | 22b0fa480661b6247dabf39059fe629e1d233a9a (diff) |
Mon Dec 12 23:14:53 UTC 2011
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..d62d263d1 --- /dev/null +++ b/~lukeshu/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 +} |