diff options
| author | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-19 08:16:21 -0700 |
|---|---|---|
| committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-19 08:16:21 -0700 |
| commit | e3f58a00132dcab5504086efd980efe582932c96 (patch) | |
| tree | 31793a16b6b51dcf981c4b9d5d3838b409e7db32 /src | |
| parent | aa5828aa586a4586b1c9ea0a207776869a256533 (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')
| -rw-r--r-- | src/Propellor/Property/Apt.hs | 4 |
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 |
