From f58e786fce5f71697598aa3cc38e397f137eceb4 Mon Sep 17 00:00:00 2001 From: CharlieRoot Date: Sun, 10 Jul 2011 13:50:52 +0400 Subject: linkapps: also search for bin/*.app Qt and PhantomJS install apps to this folder, so find those apps too. Signed-off-by: Adam Vandenberg --- Library/Contributions/examples/brew-linkapps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Contributions/examples/brew-linkapps.rb b/Library/Contributions/examples/brew-linkapps.rb index 4f6f03efd..5a36bb4d1 100755 --- a/Library/Contributions/examples/brew-linkapps.rb +++ b/Library/Contributions/examples/brew-linkapps.rb @@ -14,7 +14,7 @@ HOMEBREW_CELLAR.subdirs.each do |keg| name = keg.basename.to_s if ((f = Formula.factory(name)).installed? rescue false) - Dir["#{f.installed_prefix}/*.app", "#{f.installed_prefix}/libexec/*.app"].each do |p| + Dir["#{f.installed_prefix}/*.app", "#{f.installed_prefix}/bin/*.app", "#{f.installed_prefix}/libexec/*.app"].each do |p| puts "Linking #{p}" appname = File.basename(p) target = HOME_APPS+"/"+appname -- cgit v1.2.3