From a40e5d22354615f13d69d963cbe9c727babc724c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 12 Jul 2019 14:19:27 -0400 Subject: use "-security" suffix for bullseye and up The suite for stable releases from bullseye on will be suffixed with "-security". Only 3 past stable releases continue to use the old unsuffixed name. --- src/Propellor/Property/Apt.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Propellor/Property') 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 -- cgit v1.2.3