diff -Nru b43-fwcutter-019/debian/changelog b43-fwcutter-019/debian/changelog --- b43-fwcutter-019/debian/changelog 2014-07-10 21:54:57.000000000 -0500 +++ b43-fwcutter-019/debian/changelog 2015-04-05 21:04:45.000000000 -0500 @@ -1,3 +1,11 @@ +b43-fwcutter (1:019-2) unstable; urgency=medium + + * Fix upgrade in postinst files when network + connecton is unavailable. Closes: #781544 + + Thanks Julian Moreno for the patch + + -- Daniel Echeverry Sun, 05 Apr 2015 20:03:23 -0500 + b43-fwcutter (1:019-1) unstable; urgency=low * New upstream release. diff -Nru b43-fwcutter-019/debian/firmware-b43-installer.postinst b43-fwcutter-019/debian/firmware-b43-installer.postinst --- b43-fwcutter-019/debian/firmware-b43-installer.postinst 2014-06-25 09:04:20.000000000 -0500 +++ b43-fwcutter-019/debian/firmware-b43-installer.postinst 2015-04-05 19:53:21.000000000 -0500 @@ -22,8 +22,7 @@ eval export $APT_PROXIES fi -wget --timeout=60 http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2 -if [ $? -ne 0 ]; then +if ! wget --timeout=60 http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2 ; then echo "Some problem occurred during the firmware download. Please check your internet connection." exit 0 else diff -Nru b43-fwcutter-019/debian/firmware-b43legacy-installer.postinst b43-fwcutter-019/debian/firmware-b43legacy-installer.postinst --- b43-fwcutter-019/debian/firmware-b43legacy-installer.postinst 2014-06-25 09:04:20.000000000 -0500 +++ b43-fwcutter-019/debian/firmware-b43legacy-installer.postinst 2015-04-05 19:53:21.000000000 -0500 @@ -22,8 +22,7 @@ eval export $APT_PROXIES fi -wget --timeout=60 http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o -if [ $? -ne 0 ]; then +if ! wget --timeout=60 http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o ; then echo "Some problem occurred during the firmware download. Please check your internet connection." exit 0 else