From 084b6768e5377dcde6e361837fce5f38ba237fac Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 22 Jan 2012 22:41:02 -0500 Subject: move ~lukeshu/openni* to ~lukeshu/openni/openni* --- .../openni-module-sensorkinect-git/sensorkinect.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install (limited to '~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install') 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 +} -- cgit v1.2.3