debian/postinst: fix kinect_fetch_fw usage for the new upstream version
authorAntonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 14:34:08 +0000 (15:34 +0100)
committerAntonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 14:34:08 +0000 (15:34 +0100)
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.

debian/postinst

index b51bed0..e145f60 100644 (file)
@@ -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
     ;;