better progress
This commit is contained in:
parent
0561ea1b28
commit
3d2b44ffe5
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ dummyRemove state url = return False
|
|||
downloadUrl :: State -> Key -> FilePath -> IO Bool
|
||||
downloadUrl state url file = do
|
||||
putStrLn $ "download: " ++ url
|
||||
result <- try $ rawSystem "curl" ["-o", file, url]
|
||||
result <- try $ rawSystem "curl" ["-#", "-o", file, url]
|
||||
case (result) of
|
||||
Left _ -> return False
|
||||
Right _ -> return True
|
||||
|
|
Loading…
Reference in a new issue