propellor spin
This commit is contained in:
parent
9ed258633a
commit
b5812c7564
|
@ -105,11 +105,11 @@ installed = Apt.installed ["obnam"]
|
||||||
latestVersion :: Property
|
latestVersion :: Property
|
||||||
latestVersion = withOS "obnam latest version" $ \o -> case o of
|
latestVersion = withOS "obnam latest version" $ \o -> case o of
|
||||||
(Just (System (Debian suite) _)) | isStable suite -> ensureProperty $
|
(Just (System (Debian suite) _)) | isStable suite -> ensureProperty $
|
||||||
Apt.setSourcesListD (sources suite) "obnam"
|
Apt.setSourcesListD stablesources "obnam"
|
||||||
`requires` toProp (Apt.trustsKey key)
|
`requires` toProp (Apt.trustsKey key)
|
||||||
_ -> noChange
|
_ -> noChange
|
||||||
where
|
where
|
||||||
sources suite =
|
stablesources =
|
||||||
[ "deb http://code.liw.fi/debian " ++ Apt.showSuite stableRelease ++ " main"
|
[ "deb http://code.liw.fi/debian " ++ Apt.showSuite stableRelease ++ " main"
|
||||||
]
|
]
|
||||||
-- gpg key used by the code.liw.fi repository.
|
-- gpg key used by the code.liw.fi repository.
|
||||||
|
|
Loading…
Reference in New Issue