summaryrefslogtreecommitdiff
path: root/Propellor
diff options
context:
space:
mode:
authorJoey Hess2014-04-13 18:29:57 -0400
committerJoey Hess2014-04-13 18:29:57 -0400
commitb345271f0b231ac5dd10143298d2d5cf655686be (patch)
tree8eed6df13aa5ccbf4121a6fe03d7e0c7c8095bda /Propellor
parentf392bd6390e35e7ff6991399449b0699b8cc2245 (diff)
propellor spin
Diffstat (limited to 'Propellor')
-rw-r--r--Propellor/Property/Apt.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Propellor/Property/Apt.hs b/Propellor/Property/Apt.hs
index 5c095d64..f45bc2e6 100644
--- a/Propellor/Property/Apt.hs
+++ b/Propellor/Property/Apt.hs
@@ -107,7 +107,8 @@ installedBackport ps = withOS desc $ \o -> case o of
Nothing -> error "cannot install backports; os not declared"
(Just (System (Debian suite) _))
| isStable suite ->
- ensureProperty $ installed' ["-t", backportSuite, "-y"] ps
+ ensureProperty $ runApt $
+ ["install", "-t", backportSuite, "-y"] ++ ps
_ -> error $ "backports not supported on " ++ show o
where
desc = (unwords $ "apt installed backport":ps)