summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorSean Whitton2017-03-19 08:16:21 -0700
committerSean Whitton2017-03-19 08:16:21 -0700
commite3f58a00132dcab5504086efd980efe582932c96 (patch)
tree31793a16b6b51dcf981c4b9d5d3838b409e7db32 /src/Propellor
parentaa5828aa586a4586b1c9ea0a207776869a256533 (diff)
replace debCdn with stdArchiveLines
Though stdArchiveLines is not used in Apt.hs, this is the logical replacement for the old debCdn property.
Diffstat (limited to 'src/Propellor')
-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 2f4035a9..f38a479d 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -85,8 +85,8 @@ binandsrc url suite = catMaybes
bs <- backportSuite suite
return $ debLine bs url stdSections
-debCdn :: SourcesGenerator
-debCdn = binandsrc "http://deb.debian.org/debian"
+stdArchiveLines :: Propellor SourcesGenerator
+stdArchiveLines = return . binandsrc =<< getHostMirror
-- | Only available for Stable and Testing
securityUpdates :: SourcesGenerator