cleanup
This commit is contained in:
parent
84dc5629c6
commit
c65e71e6a5
1 changed files with 1 additions and 2 deletions
|
@ -208,8 +208,7 @@ download' :: Bool -> URLString -> FilePath -> UrlOptions -> IO Bool
|
|||
download' quiet url file uo = do
|
||||
case parseURIRelaxed url of
|
||||
Just u
|
||||
| uriScheme u == "file:" -> do
|
||||
curl
|
||||
| uriScheme u == "file:" -> curl
|
||||
| otherwise -> ifM (inPath "wget") (wget , curl)
|
||||
_ -> return False
|
||||
where
|
||||
|
|
Loading…
Add table
Reference in a new issue