diff --git a/src/Propellor/Property/Obnam.hs b/src/Propellor/Property/Obnam.hs index 3d13e61..15a8494 100644 --- a/src/Propellor/Property/Obnam.hs +++ b/src/Propellor/Property/Obnam.hs @@ -105,11 +105,11 @@ installed = Apt.installed ["obnam"] latestVersion :: Property latestVersion = withOS "obnam latest version" $ \o -> case o of (Just (System (Debian suite) _)) | isStable suite -> ensureProperty $ - Apt.setSourcesListD (sources suite) "obnam" + Apt.setSourcesListD stablesources "obnam" `requires` toProp (Apt.trustsKey key) _ -> noChange where - sources suite = + stablesources = [ "deb http://code.liw.fi/debian " ++ Apt.showSuite stableRelease ++ " main" ] -- gpg key used by the code.liw.fi repository.