summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-12-20 18:00:09 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-12-20 23:24:05 -0400
commit815d1318d7a54836f65ba4b72703808959223bb2 (patch)
tree6ed6939455cbc7baf3459b18a84f16f29461eb05 /Utility
parenta2e482b59037e783729cf0d96a4d58553db0dfb4 (diff)
comment
Diffstat (limited to 'Utility')
-rw-r--r--Utility/Url.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Utility/Url.hs b/Utility/Url.hs
index 617fe3f4d..7ce43d9bd 100644
--- a/Utility/Url.hs
+++ b/Utility/Url.hs
@@ -33,8 +33,12 @@ exists url =
_ -> return False
{- Used to download large files, such as the contents of keys.
+ -
- Uses wget or curl program for its progress bar. (Wget has a better one,
- - so is preferred.) -}
+ - so is preferred.) Which program to use is determined at run time; it
+ - would not be appropriate to test at configure time and build support
+ - for only one in.
+ -}
download :: URLString -> FilePath -> IO Bool
download url file = do
e <- inPath "wget"