~ubuntu-branches/debian/stretch/b43-fwcutter/stretch

« back to all changes in this revision

Viewing changes to debian/firmware-b43-installer.postinst

  • Committer: Package Import Robot
  • Author(s): Daniel Echeverry
  • Date: 2015-04-05 20:03:23 UTC
  • Revision ID: package-import@ubuntu.com-20150405200323-0f3cyed0t03yh4aa
Tags: 1:019-2
* Fix upgrade in postinst files when network 
  connecton is unavailable. Closes: #781544
  + Thanks Julian Moreno for the patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
        eval export $APT_PROXIES
23
23
fi
24
24
 
25
 
wget --timeout=60 http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
26
 
if [ $? -ne 0 ]; then
 
25
if ! wget --timeout=60 http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2 ; then
27
26
        echo "Some problem occurred during the firmware download. Please check your internet connection." 
28
27
        exit 0
29
28
    else