summaryrefslogtreecommitdiff
path: root/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install
blob: d62d263d10b982f0e79662ed7338b209f0ae5f95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}