diff options
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmds/brew-linkapps.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmds/brew-linkapps.rb b/Library/Contributions/cmds/brew-linkapps.rb index ec0f658d4..40723dec0 100755 --- a/Library/Contributions/cmds/brew-linkapps.rb +++ b/Library/Contributions/cmds/brew-linkapps.rb @@ -32,7 +32,7 @@ HOMEBREW_CELLAR.subdirs.each do |keg| appname = File.basename(p, ".app") target = HOME_APPS+"/"+appname if File.exist? target - if File.symlink? target or finder_alias? target + if File.symlink?(target) || finder_alias?(target) system "rm", target else onoe "#{target} already exists, skipping." |
