only enable SHA backends that configure finds support for

This commit is contained in:
Joey Hess 2011-03-02 13:47:45 -04:00
parent 70a6eb6d73
commit a3daac8a8b
12 changed files with 57 additions and 89 deletions

View file

@ -5,7 +5,7 @@
- Licensed under the GNU GPL version 3 or higher.
-}
module Backend.URL (backend) where
module Backend.URL (backends) where
import Control.Monad.State (liftIO)
import Data.String.Utils
@ -15,6 +15,9 @@ import BackendTypes
import Utility
import Messages
backends :: [Backend Annex]
backends = [backend]
backend :: Backend Annex
backend = Backend {
name = "URL",