From d725caa03420d5f3b9ffe6124de39ab00979f7cb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 28 Mar 2016 03:52:30 -0400 Subject: backports are debian only --- debian/changelog | 2 +- src/Propellor/Property/Apt.hs | 2 +- 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 -- cgit v1.2.3