summarylogtreecommitdiffstats
path: root/openni.install
diff options
context:
space:
mode:
Diffstat (limited to 'openni.install')
-rw-r--r--openni.install20
1 files changed, 12 insertions, 8 deletions
diff --git a/openni.install b/openni.install
index 3ef4704430a..b568d093eec 100644
--- a/openni.install
+++ b/openni.install
@@ -1,13 +1,17 @@
post_install() {
- MODULES="libnimMockNodes.so libnimCodecs.so libnimRecorder.so"
- for module in $MODULES
- do
- /usr/bin/niReg /usr/lib/$module
- done
-
- echo "Don't forget to install a hardware driver such as openni-primesense-sensor or sensorkinect"
+ local _module
+ local _MODULES
+
+ _MODULES='libnimMockNodes.so libnimCodecs.so libnimRecorder.so'
+
+ for _module in $_MODULES
+ do
+ /usr/bin/niReg "/usr/lib/${module}"
+ done
+
+ printf '%s\n' "Don't forget to install a hardware driver such as openni-primesense-sensor or sensorkinect"
}
pre_remove() {
- rm /var/lib/ni/modules.xml
+ rm /var/lib/ni/modules.xml
}