diff options
| author | Sean Whitton <spwhitton@spwhitton.name> | 2018-04-17 09:54:24 -0700 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2018-04-18 10:12:08 -0400 |
| commit | 765aa869f18a7addea8c103a8a98814267c0a259 (patch) | |
| tree | eee23215091a258f5137005a9f548f4c236afd1a /src | |
| parent | 68a07bb9ba8b0f8f5258fa228e2280b8cf9fc548 (diff) | |
Apt.stdSourcesList now adds stable-updates suite
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Apt.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs index 7275205a..5080b1e2 100644 --- a/src/Propellor/Property/Apt.hs +++ b/src/Propellor/Property/Apt.hs @@ -88,6 +88,8 @@ binandsrc :: String -> SourcesGenerator binandsrc url suite = catMaybes [ Just l , Just $ srcLine l + , sul + , srcLine <$> sul , bl , srcLine <$> bl ] @@ -96,6 +98,10 @@ binandsrc url suite = catMaybes bl = do bs <- backportSuite suite return $ debLine bs url stdSections + -- formerly known as 'volatile' + sul = do + sus <- stableUpdatesSuite suite + return $ debLine sus url stdSections stdArchiveLines :: Propellor SourcesGenerator stdArchiveLines = return . binandsrc =<< getMirror |
