From f256b24aa87409a599b388f0a7848aa9abecaa7f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 13 Sep 2015 13:35:12 -0400 Subject: avoid brackets --- src/Propellor/Property/Debootstrap.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Propellor/Property/Debootstrap.hs') diff --git a/src/Propellor/Property/Debootstrap.hs b/src/Propellor/Property/Debootstrap.hs index 74da68b4..2551d679 100644 --- a/src/Propellor/Property/Debootstrap.hs +++ b/src/Propellor/Property/Debootstrap.hs @@ -158,10 +158,10 @@ sourceInstall' = withTmpDir "debootstrap" $ \tmpd -> do let indexfile = tmpd "index.html" unlessM (download baseurl indexfile) $ errorMessage $ "Failed to download " ++ baseurl - urls <- (sortBy (flip compare) -- highest version first + urls <- sortBy (flip compare) -- highest version first . filter ("debootstrap_" `isInfixOf`) . filter (".tar." `isInfixOf`) - . extractUrls baseurl) <$> + . extractUrls baseurl <$> readFileStrictAnyEncoding indexfile nukeFile indexfile -- cgit v1.3-2-g0d8e