aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-05 22:11:41 -0800
committerAdam Vandenberg2013-11-05 22:11:41 -0800
commit05d43c516d81708533efea8b3dbf89c77d6a22e1 (patch)
tree4402356d0fae6d2be52e1c6e1cc215c12a93bb97 /Library
parent11ae37b3f22b070b91bab2440863a6b11b04eca5 (diff)
downloadhomebrew-05d43c516d81708533efea8b3dbf89c77d6a22e1.tar.bz2
add trash/osxutils conflict
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/osxutils.rb4
-rw-r--r--Library/Formula/trash.rb2
2 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/osxutils.rb b/Library/Formula/osxutils.rb
index 88cf15a53..b53581059 100644
--- a/Library/Formula/osxutils.rb
+++ b/Library/Formula/osxutils.rb
@@ -2,11 +2,11 @@ require 'formula'
class Osxutils < Formula
homepage 'https://github.com/vasi/osxutils'
+ head 'https://github.com/vasi/osxutils.git'
url 'https://github.com/vasi/osxutils/archive/v1.8.tar.gz'
sha1 'c3d20da36ecfae3abff07f482a572b3680a12b6d'
- head 'https://github.com/vasi/osxutils.git'
-
+ conflicts_with 'trash', :because => 'both install a trash binary'
conflicts_with 'leptonica',
:because => "both leptonica and osxutils ship a `fileinfo` executable."
diff --git a/Library/Formula/trash.rb b/Library/Formula/trash.rb
index 51cea16ab..4ecee481d 100644
--- a/Library/Formula/trash.rb
+++ b/Library/Formula/trash.rb
@@ -5,6 +5,8 @@ class Trash < Formula
url 'http://github.com/hasseg/trash/archive/v0.8.3.zip'
sha1 'de3489f7dbfe03dc490a3c7da22dba90998af3d1'
+ conflicts_with 'osxutils', :because => 'both install a trash binary'
+
def install
system "make"
system "make docs"