From 00d7d1f1b8496cfe48fa7c41070309304b1ae75d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 22 Nov 2011 00:07:29 -0500 Subject: Move openni-{primesenseor,sensorkinect} to openni-module-* --- .../openni-module-sensorkinect-git/sensorkinect.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ~lukeshu/openni-module-sensorkinect-git/sensorkinect.install (limited to '~lukeshu/openni-module-sensorkinect-git/sensorkinect.install') 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 +} -- cgit v1.2.3