summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
authorJoey Hess2019-07-16 10:51:27 -0400
committerJoey Hess2019-07-16 10:51:27 -0400
commit203dbc6df1bd5a7ebd2d5a8b8ef525d542770d2e (patch)
tree862ad2fdf7c247bfa1b7af080972edc24e633177 /src/Propellor/Property
parent655579e0c8732148d48f241ddc6e025fbe1303bc (diff)
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.
Diffstat (limited to 'src/Propellor/Property')
-rw-r--r--src/Propellor/Property/Apt.hs4
1 files changed, 2 insertions, 2 deletions
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"]