summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2016-03-28 03:52:30 -0400
committerJoey Hess2016-03-28 03:52:30 -0400
commitd725caa03420d5f3b9ffe6124de39ab00979f7cb (patch)
tree51638a7a86d7d7f8a5ac9f9d7ce57d449cff0d0e
parentc0a16142a374c6f4eea6b781385402d66133f177 (diff)
backports are debian only
-rw-r--r--debian/changelog2
-rw-r--r--src/Propellor/Property/Apt.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 036b8f34..e4fbd15e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -56,7 +56,7 @@ propellor (3.0.0) UNRELEASED; urgency=medium
propertyChildren to getChildren
* The new `pickOS` property combinator can be used to combine different
properties, supporting different OS's, into one Property that chooses
- what to do based on the Host's OS.
+ which to use based on the Host's OS.
* Re-enabled -O0 in propellor.cabal to reign in ghc's memory use handling
these complex new types.
* Added dependency on concurrent-output; removed embedded copy.
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs
index c8ad92e4..2199d950 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -157,7 +157,7 @@ installed' params ps = robustly $ check (isInstallable ps) go
where
go = runApt (params ++ ["install"] ++ ps)
-installedBackport :: [Package] -> Property DebianLike
+installedBackport :: [Package] -> Property Debian
installedBackport ps = withOS desc $ \w o -> case o of
(Just (System (Debian suite) _)) -> case backportSuite suite of
Nothing -> unsupportedOS