From b2ad3403c610c489dc5a895fcc6e5345879aa1fb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 3 Apr 2015 20:38:20 -0400 Subject: [PATCH] make downloadQuiet quiet again This was broken in commit c64ede23cd297f67e77fd681bd10cb94ea984ea1 --- Utility/Url.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utility/Url.hs b/Utility/Url.hs index 07be955e25..0ecc195d5d 100644 --- a/Utility/Url.hs +++ b/Utility/Url.hs @@ -205,7 +205,7 @@ downloadQuiet :: URLString -> FilePath -> UrlOptions -> IO Bool downloadQuiet = download' True download' :: Bool -> URLString -> FilePath -> UrlOptions -> IO Bool -download' quiet url file uo = +download' quiet url file uo = do case parseURIRelaxed url of Just u | uriScheme u == "file:" -> do @@ -224,7 +224,7 @@ download' quiet url file uo = -} #ifndef __ANDROID__ wgetparams = catMaybes - [ if Build.SysConfig.wgetquietprogress + [ if Build.SysConfig.wgetquietprogress && not quiet then Just $ Params "-q --show-progress" else Nothing , Just $ Params "--clobber -c -O"