tazwok rev 179

tazwok: add https support for wget
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 29 10:48:53 2010 +0200 (2010-10-29)
parents 92fd61a02140
children a7d5ebd59038
files tazwok
line diff
     1.1 --- a/tazwok	Sat Sep 25 13:54:51 2010 +0200
     1.2 +++ b/tazwok	Fri Oct 29 10:48:53 2010 +0200
     1.3 @@ -278,6 +278,10 @@
     1.4  download()
     1.5  {
     1.6  	for file in $@; do
     1.7 +		case "$file" in
     1.8 +		[Hh][Tt][Tt][Pp][Ss]*)
     1.9 +			wget --no-check-certificate $file && break ;;
    1.10 +		esac
    1.11  		wget $file && break
    1.12  	done
    1.13  }