aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmagic.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/libmagic.rb')
-rw-r--r--Library/Formula/libmagic.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/libmagic.rb b/Library/Formula/libmagic.rb
index 5e69d3fb3..33252b30c 100644
--- a/Library/Formula/libmagic.rb
+++ b/Library/Formula/libmagic.rb
@@ -5,14 +5,14 @@ class Libmagic < Formula
homepage 'http://www.darwinsys.com/file/'
md5 'accade81ff1cc774904b47c72c8aeea0'
- keg_only <<-KEG.undent
- This brew provides 'libmagic', but also installs a 'file' command which shadows the OS X-provided one.
- KEG
-
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make"
ENV.j1 # Remove some warnings during install
system "make install"
+
+ # don't dupe this system utility and this formula is called "libmagic" not "file"
+ rm bin/"file"
+ rm man1/"file.1"
end
end