From 9949e46e150be17320c22a096ead5ffd0fb5a8a6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 Dec 2014 13:12:52 -0400 Subject: add missing quvi ifdef --- Command/ImportFeed.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Command/ImportFeed.hs') 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 -- cgit v1.2.3