#!/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
}