summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property')
-rw-r--r--src/Propellor/Property/Apt.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs
index 41e6cfe7..68927337 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -116,7 +116,10 @@ securityUpdates suite
where
securitysuite
| suite == Testing = "testing-security"
- | otherwise = showSuite suite
+ | suite `elem` map Stable releasesusingoldname =
+ showSuite suite
+ | otherwise = showSuite suite ++ "-security"
+ releasesusingoldname = ["jessie", "buster", "stretch"]
-- | Makes sources.list have a standard content using the Debian mirror CDN
-- (or other host specified using the `mirror` property), with the