summaryrefslogtreecommitdiff
path: root/fsmgr.hs
diff options
context:
space:
mode:
Diffstat (limited to 'fsmgr.hs')
-rw-r--r--fsmgr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsmgr.hs b/fsmgr.hs
index a60b2bd..948ef8b 100644
--- a/fsmgr.hs
+++ b/fsmgr.hs
@@ -317,7 +317,7 @@ ignoreErrors :: Action () -> Action ()
317ignoreErrors = flip actionCatch (\(SomeException _) -> return ()) 317ignoreErrors = flip actionCatch (\(SomeException _) -> return ())
318 318
319partitionPackages :: [String] -> ([String], [String]) 319partitionPackages :: [String] -> ([String], [String])
320partitionPackages = partition (elem '/') 320partitionPackages = partition (".deb" `isSuffixOf`)
321 321
322consWhen :: a -> Bool -> [a] -> [a] 322consWhen :: a -> Bool -> [a] -> [a]
323a `consWhen` c = if c then (a:) else id 323a `consWhen` c = if c then (a:) else id