41a946a2755a65b328ddc475ef36d0eec1bab21b
[kinect-audio-setup.git] / debian / postinst
1 #!/bin/sh
2 # postinst script for kinect-audio-setup
3 #
4 # see: dh_installdeb(1)
5
6 set -e
7
8 case "$1" in
9     configure)
10         kinect_fetch_fw /lib/firmware/kinect /usr/sbin/kinect_upload_fw || true
11         udevadm control --reload-rules || true
12     ;;
13
14     abort-upgrade|abort-remove|abort-deconfigure)
15     ;;
16
17     *)
18         echo "postinst called with unknown argument \`$1'" >&2
19         exit 1
20     ;;
21 esac
22
23 # dh_installdeb will replace this with shell code automatically
24 # generated by other debhelper scripts.
25
26 #DEBHELPER#
27
28 exit 0