slitaz-tools rev 767
tazinst: add downloading info
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat May 19 11:25:33 2012 +0200 (2012-05-19) |
parents | 1962e7ea953e |
children | d6b0effae42e |
files | installer/tazinst |
line diff
1.1 --- a/installer/tazinst Sat May 19 11:21:13 2012 +0200 1.2 +++ b/installer/tazinst Sat May 19 11:25:33 2012 +0200 1.3 @@ -436,14 +436,14 @@ 1.4 check_web() 1.5 { 1.6 local src_md5 1.7 - debug "Downloading $SRC_FILE" 1.8 + msg "Downloading $SRC_FILE" 1.9 if wget $SRC_FILE -P /tmp; then 1.10 debug "Download completed." 1.11 else 1.12 warning "$SRC_FILE: $(gettext "File download failed.")" 1.13 fi 1.14 src_md5=$(echo $SRC_FILE | sed 's/.iso$/.md5/') 1.15 - debug "Downloading $src_md5" 1.16 + msg "Downloading $src_md5" 1.17 wget $src_md5 -P /tmp || warning "$src_md5: $(gettext "File download failed.")" 1.18 tmpfile=$(echo $SRC_FILE | awk 'BEGIN{RS="/"}{out=$1}END{printf"%s",out}') 1.19 SRC_FILE="/tmp/$tmpfile"