From 1ffef4575e766027e0851de8b37691c151c2c56c Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Fri, 6 Jan 2023 19:04:46 +0800 Subject: [PATCH] flock: declare conflict with util-linux --- Formula/flock.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/flock.rb b/Formula/flock.rb index 40236b94da5..fd073169138 100644 --- a/Formula/flock.rb +++ b/Formula/flock.rb @@ -16,6 +16,10 @@ class Flock < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "ca5c17cfc66b0b2589e07c696cfbe385addb1ed8905c5d851d64b2dbbee00940" end + on_linux do + conflicts_with "util-linux", because: "both install `flock` binaries" + end + def install system "./configure", *std_configure_args, "--disable-debug",