Permalink
Browse files

fixed paludis breakage: Bad argument '--continue-on-failure if-indepe…

…ndent'

Split "--continue-on-failure if-independent" in two separate ones.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
1 parent aafa01c commit ebcaec3bdb552c3127f04072ef0de8d5b1255917 @trofi trofi committed Feb 11, 2012
Showing with 11 additions and 4 deletions.
  1. +11 −4 Distribution/Gentoo/PkgManager.hs
View
15 Distribution/Gentoo/PkgManager.hs
@@ -98,10 +98,17 @@ pmCommand (CustomPM cmd) = cmd
pmCommand (InvalidPM _) = undefined
defaultPMFlags :: PkgManager -> [String]
-defaultPMFlags Portage = ["--oneshot", "--keep-going"]
-defaultPMFlags PkgCore = ["--deep", "--oneshot", "--ignore-failures"]
-defaultPMFlags Paludis = [ "resolve", "--execute", "--preserve-world"
- , "--continue-on-failure if-independent"]
+defaultPMFlags Portage = [ "--oneshot"
+ , "--keep-going"]
+defaultPMFlags PkgCore = [ "--deep"
+ , "--oneshot"
+ , "--ignore-failures"
+ ]
+defaultPMFlags Paludis = [ "resolve"
+ , "--execute"
+ , "--preserve-world"
+ , "--continue-on-failure", "if-independent"
+ ]
defaultPMFlags CustomPM{} = []
defaultPMFlags (InvalidPM _) = undefined

0 comments on commit ebcaec3

Please sign in to comment.