From 203dbc6df1bd5a7ebd2d5a8b8ef525d542770d2e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 16 Jul 2019 10:51:27 -0400 Subject: remove /updates from security url According to Ansgar Burchardt's mail, it should look like: deb http://security.debian.org/debian-security bullseye-security main Kept as it was for oldstable etc. --- src/Propellor/Property/Apt.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs index 68927337..ecc82b57 100644 --- a/src/Propellor/Property/Apt.hs +++ b/src/Propellor/Property/Apt.hs @@ -110,14 +110,14 @@ stdArchiveLines = return . binandsrc =<< getMirror securityUpdates :: SourcesGenerator securityUpdates suite | isStable suite || suite == Testing = - let l = "deb http://security.debian.org/ " ++ securitysuite ++ "/updates " ++ unwords stdSections + let l = "deb http://security.debian.org/ " ++ securitysuite ++ " " ++ unwords stdSections in [l, srcLine l] | otherwise = [] where securitysuite | suite == Testing = "testing-security" | suite `elem` map Stable releasesusingoldname = - showSuite suite + showSuite suite ++ "/updates" | otherwise = showSuite suite ++ "-security" releasesusingoldname = ["jessie", "buster", "stretch"] -- cgit v1.2.3