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
|
download' quiet url file uo = do
|
||||||
case parseURIRelaxed url of
|
case parseURIRelaxed url of
|
||||||
Just u
|
Just u
|
||||||
| uriScheme u == "file:" -> do
|
| uriScheme u == "file:" -> curl
|
||||||
curl
|
|
||||||
| otherwise -> ifM (inPath "wget") (wget , curl)
|
| otherwise -> ifM (inPath "wget") (wget , curl)
|
||||||
_ -> return False
|
_ -> return False
|
||||||
where
|
where
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue