diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-03-28 03:52:30 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-03-28 03:52:30 -0400 |
| commit | d725caa03420d5f3b9ffe6124de39ab00979f7cb (patch) | |
| tree | 51638a7a86d7d7f8a5ac9f9d7ce57d449cff0d0e | |
| parent | c0a16142a374c6f4eea6b781385402d66133f177 (diff) | |
backports are debian only
| -rw-r--r-- | debian/changelog | 2 | ||||
| -rw-r--r-- | 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 |
