summaryrefslogtreecommitdiff
path: root/Propellor/Property/Apt.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-03 02:27:17 -0400
committerJoey Hess2014-04-03 02:27:17 -0400
commitfdb48b1dd11b802d0c2124fb3833672ca87ab870 (patch)
tree6537cfb4d2211eaf478411ca95cec56dbe706bcc /Propellor/Property/Apt.hs
parent9a9f249ff0cfe2b5f601c84368457245ddb4d78b (diff)
api doc improvements
Diffstat (limited to 'Propellor/Property/Apt.hs')
-rw-r--r--Propellor/Property/Apt.hs13
1 files changed, 6 insertions, 7 deletions
diff --git a/Propellor/Property/Apt.hs b/Propellor/Property/Apt.hs
index d3c5044a..8bbb1b19 100644
--- a/Propellor/Property/Apt.hs
+++ b/Propellor/Property/Apt.hs
@@ -46,12 +46,11 @@ debCdn = binandsrc "http://cdn.debian.net/debian"
kernelOrg :: DebianSuite -> [Line]
kernelOrg = binandsrc "http://mirrors.kernel.org/debian"
-{- | Makes sources.list have a standard content using the mirror CDN,
- - with a particular DebianSuite.
- -
- - Since the CDN is sometimes unreliable, also adds backup lines using
- - kernel.org.
- -}
+-- | Makes sources.list have a standard content using the mirror CDN,
+-- with a particular DebianSuite.
+--
+-- Since the CDN is sometimes unreliable, also adds backup lines using
+-- kernel.org.
stdSourcesList :: DebianSuite -> Property
stdSourcesList suite = setSourcesList (debCdn suite ++ kernelOrg suite)
`describe` ("standard sources.list for " ++ show suite)
@@ -113,7 +112,7 @@ buildDepIn dir = go `requires` installedMin ["devscripts", "equivs"]
noninteractiveEnv
-- | Package installation may fail becuse the archive has changed.
--- Run an update in that case and retry. -}
+-- Run an update in that case and retry.
robustly :: Property -> Property
robustly p = Property (propertyDesc p) $ do
r <- ensureProperty p