summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Apt.hs')
-rw-r--r--src/Propellor/Property/Apt.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs
index b86a6838..abec1357 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -30,6 +30,8 @@ getHostMirror = do
"http://deb.debian.org/debian"
(Just (System (Buntish _) _), _) ->
"mirror://mirrors.ubuntu.com/"
+ (Just (System dist _), _) ->
+ error ("no Apt mirror defined for " ++ show dist)
_ -> error "no Apt mirror defined for this host or OS"
where
getHostMirrorInfo :: Propellor (Maybe HostMirror)