wok-current rev 778
get-b43-firmware: install also wireless_tools if needed
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 12 18:16:38 2008 +0200 (2008-05-12) |
parents | 9c6789a8dbc9 |
children | a0effbd54b58 |
files | get-b43-firmware/stuff/get-b43-firmware |
line diff
1.1 --- a/get-b43-firmware/stuff/get-b43-firmware Mon May 12 17:27:29 2008 +0200 1.2 +++ b/get-b43-firmware/stuff/get-b43-firmware Mon May 12 18:16:38 2008 +0200 1.3 @@ -23,20 +23,13 @@ 1.4 exit 0 1.5 fi 1.6 1.7 -# We need the extractor. 1.8 -if [ ! -d /var/lib/tazpkg/installed/linux-wireless ]; then 1.9 - tazpkg get-install linux-wireless 1.10 -fi 1.11 - 1.12 -# We need the extractor. 1.13 -if [ ! -d /var/lib/tazpkg/installed/b43-fwcutter ]; then 1.14 - tazpkg get-install b43-fwcutter 1.15 -fi 1.16 - 1.17 -# Install b43-fwcutter if needed 1.18 -if [ -d /var/lib/tazpkg/installed/b43-fwcutter ]; then 1.19 - tazpkg get-install b43-fwcutter 1.20 -fi 1.21 +# We need drivers, the extractor and tools. 1.22 +for pkg in linux-wireless b43-fwcutter wireless_tools 1.23 +do 1.24 + if [ ! -d /var/lib/tazpkg/installed/$pkg ]; then 1.25 + tazpkg get-install $pkg 1.26 + fi 1.27 +done 1.28 1.29 # Get files 1.30 cd /tmp