From: Antonio Ospite Date: Sat, 9 Jan 2016 14:34:08 +0000 (+0100) Subject: debian/postinst: fix kinect_fetch_fw usage for the new upstream version X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/commitdiff_plain/f4b9017cca7feaf514fb2fd71c8de9fdbf87996c debian/postinst: fix kinect_fetch_fw usage for the new upstream version While at it also remove the redirection to stderr, and make the maintainer script return the status of kinect_fetch_fw if the latter fails. --- diff --git a/debian/postinst b/debian/postinst index b51bed0..e145f60 100644 --- a/debian/postinst +++ b/debian/postinst @@ -14,7 +14,7 @@ case "$1" in db_input high kinect-audio-setup/eula_not_accepted || true db_go else - kinect_fetch_fw /lib/firmware/kinect /usr/sbin/kinect_upload_fw 1>&2 || true + kinect_fetch_fw /lib/firmware/kinect udevadm control --reload-rules || true fi ;;