From e3f58a00132dcab5504086efd980efe582932c96 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 19 Mar 2017 08:16:21 -0700 Subject: replace debCdn with stdArchiveLines Though stdArchiveLines is not used in Apt.hs, this is the logical replacement for the old debCdn property. --- src/Propellor/Property/Apt.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Propellor') 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 -- cgit v1.2.3