summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Obnam.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-06-09 12:32:15 -0400
committerJoey Hess <joey@kitenet.net>2014-06-09 12:32:15 -0400
commit70ab611efdaf8bba6becc42bef14cc47486d42a6 (patch)
treea5e5a10056601d90a1a3fbd05c397bf484540c8a /src/Propellor/Property/Obnam.hs
parentbfbe9b2c9aaeb4e923dedabd8f5a53a0bd9c3acf (diff)
parenta1341ccb315a98e407a25bf25411759b6f8f58d2 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property/Obnam.hs')
-rw-r--r--src/Propellor/Property/Obnam.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Propellor/Property/Obnam.hs b/src/Propellor/Property/Obnam.hs
index e5ef7365..15a8494c 100644
--- a/src/Propellor/Property/Obnam.hs
+++ b/src/Propellor/Property/Obnam.hs
@@ -105,12 +105,12 @@ 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 =
- [ "deb http://code.liw.fi/debian " ++ Apt.showSuite suite ++ " main"
+ stablesources =
+ [ "deb http://code.liw.fi/debian " ++ Apt.showSuite stableRelease ++ " main"
]
-- gpg key used by the code.liw.fi repository.
key = Apt.AptKey "obnam" $ unlines