summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/Apt.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs
index 6d7fc4d6..41e6cfe7 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -110,9 +110,13 @@ stdArchiveLines = return . binandsrc =<< getMirror
securityUpdates :: SourcesGenerator
securityUpdates suite
| isStable suite || suite == Testing =
- let l = "deb http://security.debian.org/ " ++ showSuite suite ++ "/updates " ++ unwords stdSections
+ let l = "deb http://security.debian.org/ " ++ securitysuite ++ "/updates " ++ unwords stdSections
in [l, srcLine l]
| otherwise = []
+ where
+ securitysuite
+ | suite == Testing = "testing-security"
+ | otherwise = showSuite suite
-- | Makes sources.list have a standard content using the Debian mirror CDN
-- (or other host specified using the `mirror` property), with the