From b345271f0b231ac5dd10143298d2d5cf655686be Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 13 Apr 2014 18:29:57 -0400 Subject: propellor spin --- Propellor/Property/Apt.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3