X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/blobdiff_plain/d7fa10ffe8b4c1a0ecc64282142a5676439c5ad2..d12c99394cb86bbf9c0657a596a4a26fe2b1c16d:/debian/postinst?ds=sidebyside diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..41a946a --- /dev/null +++ b/debian/postinst @@ -0,0 +1,28 @@ +#!/bin/sh +# postinst script for kinect-audio-setup +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + configure) + kinect_fetch_fw /lib/firmware/kinect /usr/sbin/kinect_upload_fw || true + udevadm control --reload-rules || true + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0