Probe for quvi version at run time.
Overhead: git annex addurl runs quvi --version once. And more bloat to Annex state..
This commit is contained in:
parent
9ec1441a94
commit
7ac37a7854
8 changed files with 80 additions and 43 deletions
|
@ -64,7 +64,7 @@ start relaxed optfile pathdepth s = go $ fromMaybe bad $ parseURI s
|
|||
QuviDownloader -> usequvi
|
||||
DefaultDownloader ->
|
||||
#ifdef WITH_QUVI
|
||||
ifM (liftIO $ Quvi.supported s')
|
||||
ifM (quviSupported s')
|
||||
( usequvi
|
||||
, regulardownload url
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue