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