uutils-coreutils: handle binary conflicts (#56626)

master
Dario Vladović 2020-06-22 07:46:06 +02:00 committed by GitHub
parent a8fcf2a6e0
commit 07675fd2c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@ class AardvarkShellUtils < Formula
end
conflicts_with "coreutils", :because => "both install `realpath` binaries"
conflicts_with "uutils-coreutils", :because => "both install `realpath` binaries"
def install
system "./configure", "--disable-debug",

View File

@ -30,6 +30,7 @@ class Coreutils < Formula
conflicts_with "idutils", :because => "both install `gid` and `gid.1`"
conflicts_with "md5sha1sum", :because => "both install `md5sum` and `sha1sum` binaries"
conflicts_with "truncate", :because => "both install `truncate` binaries"
conflicts_with "uutils-coreutils", :because => "coreutils and uutils-coreutils install the same binaries"
def install
system "./bootstrap" if build.head?

View File

@ -17,6 +17,7 @@ class Truncate < Formula
end
conflicts_with "coreutils", :because => "both install `truncate` binaries"
conflicts_with "uutils-coreutils", :because => "both install `truncate` binaries"
def install
system "make"