@ -49,11 +49,11 @@ define DownloadMethod/unknown
e n d e f
d e f i n e D o w n l o a d M e t h o d / d e f a u l t
$( SCRIPT_DIR) /download.pl " $( DL_DIR) " " $( FILE) " " $( MD5SUM ) " " $( URL_FILE) " $( foreach url,$( URL) ," $( url) " )
$( SCRIPT_DIR) /download.pl " $( DL_DIR) " " $( FILE) " " $( HASH ) " " $( URL_FILE) " $( foreach url,$( URL) ," $( url) " )
e n d e f
d e f i n e w r a p _ m i r r o r
$( if $ ( if $ ( MIRROR ) ,$ ( filter -out x ,$ ( MIRROR_MD 5SUM ) ) ) ,$ ( SCRIPT_DIR ) /download .pl "$ ( DL_DIR ) " "$ ( FILE ) " "$ ( MIRROR_MD 5SUM ) " "" || ( $ ( 1) ) ,$ ( 1) )
$( if $ ( if $ ( MIRROR ) ,$ ( filter -out x ,$ ( MIRROR_HASH ) ) ) ,$ ( SCRIPT_DIR ) /download .pl "$ ( DL_DIR ) " "$ ( FILE ) " "$ ( MIRROR_HASH ) " "" || ( $ ( 1) ) ,$ ( 1) )
e n d e f
d e f i n e D o w n l o a d M e t h o d / c v s
@ -170,9 +170,11 @@ define Download/Defaults
FILE:=
URL_FILE:=
PROTO:=
HASH = $$ ( MD5SUM)
MD5SUM:=
SUBDIR:=
MIRROR:= 1
MIRROR_HASH = $$ ( MIRROR_MD5SUM)
MIRROR_MD5SUM:= x
VERSION:=
OPTS:=