Merge branch 'master' into concurrentprogress
Conflicts: debian/changelog
This commit is contained in:
commit
86a2f9dc4d
60 changed files with 657 additions and 78 deletions
|
@ -212,7 +212,7 @@ downloadTorrentFile u = do
|
|||
downloadMagnetLink :: URLString -> FilePath -> FilePath -> Annex Bool
|
||||
downloadMagnetLink u metadir dest = ifM download
|
||||
( liftIO $ do
|
||||
ts <- filter (".torrent" `isPrefixOf`)
|
||||
ts <- filter (".torrent" `isSuffixOf`)
|
||||
<$> dirContents metadir
|
||||
case ts of
|
||||
(t:[]) -> do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue