diff options
author | Joey Hess <joeyh@joeyh.name> | 2014-12-11 13:12:52 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2014-12-11 13:12:52 -0400 |
commit | 9949e46e150be17320c22a096ead5ffd0fb5a8a6 (patch) | |
tree | 7b86b6e30ba6c6c1123bf904f1056e31573a398e /Command | |
parent | bc0bf97b20c48e1d1a35d25e2e76a311c102438c (diff) |
add missing quvi ifdef
Diffstat (limited to 'Command')
-rw-r--r-- | Command/ImportFeed.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Command/ImportFeed.hs b/Command/ImportFeed.hs index ecfee1db8..f51149163 100644 --- a/Command/ImportFeed.hs +++ b/Command/ImportFeed.hs @@ -140,6 +140,7 @@ performDownload relaxed cache todownload = case location todownload of rundownload url (takeExtension url) $ addUrlFile relaxed url QuviLink pageurl -> do +#ifdef WITH_QUVI let quviurl = setDownloader pageurl QuviDownloader checkknown quviurl $ do mp <- withQuviOptions Quvi.query [Quvi.quiet, Quvi.httponly] pageurl @@ -152,6 +153,9 @@ performDownload relaxed cache todownload = case location todownload of checkknown videourl $ rundownload videourl ("." ++ Quvi.linkSuffix link) $ addUrlFileQuvi relaxed quviurl videourl +#else + return False +#endif where forced = Annex.getState Annex.force |