From 40e63f87c409d47686480a7ddf8b5034d1d7ddcd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 21 Aug 2013 18:19:01 -0400 Subject: Set --clobber when running wget to ensure resuming works properly. --- Utility/Url.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Utility') diff --git a/Utility/Url.hs b/Utility/Url.hs index 508b9eeb4..2f2ec1dc0 100644 --- a/Utility/Url.hs +++ b/Utility/Url.hs @@ -110,7 +110,7 @@ download' quiet url headers options file = _ -> return False where headerparams = map (\h -> Param $ "--header=" ++ h) headers - wget = go "wget" $ headerparams ++ quietopt "-q" ++ [Params "-c -O"] + wget = go "wget" $ headerparams ++ quietopt "-q" ++ [Params "--clobber -c -O"] {- Uses the -# progress display, because the normal - one is very confusing when resuming, showing - the remainder to download as the whole file, -- cgit v1.2.3