Permalink
Browse files

Distribution/ArchLinux/PkgBuild.hs: filter duplicate entries from $de…

…pends
  • Loading branch information...
1 parent 3be90e7 commit 52f5a329b1587a2e90814070cace03a3937942d7 @peti peti committed May 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Distribution/ArchLinux/PkgBuild.hs
@@ -478,7 +478,7 @@ rawpkg2doc pkg = vcat
<=> disp (arch_makedepends pkg)
, case arch_depends pkg of
ArchList [] -> empty
- _ -> text "depends" <=> disp (arch_depends pkg)
+ ArchList xs -> text "depends" <=> disp (ArchList (nub xs))
, text "options" <=> disp (arch_options pkg)
, text "source"
<=> dispNoQuotes (arch_source pkg)

0 comments on commit 52f5a32

Please sign in to comment.