Skip to content

Commit

Permalink
parallel: don't conflict with moreutils built --without-parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs committed Feb 9, 2018
1 parent e3bef95 commit 4f6e66f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Formula/parallel.rb
Expand Up @@ -13,7 +13,10 @@ class Parallel < Formula
sha256 "30ca3fe740f0c4d43984116ce53b7c1058f4e5bf4d029ad6d24ebf28771b4ee8" => :el_capitan
end

conflicts_with "moreutils", :because => "both install a 'parallel' executable."
if Tab.for_name("moreutils").with?("parallel")
conflicts_with "moreutils",
:because => "both install a `parallel` executable."
end

def install
system "./configure", "--prefix=#{prefix}"
Expand Down

0 comments on commit 4f6e66f

Please sign in to comment.