diff options
| author | Mike McQuaid | 2014-04-06 18:12:14 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2014-04-06 18:12:14 +0100 | 
| commit | 0901e7761736f00db73353b0dd86c09a10e2b7bc (patch) | |
| tree | a7b6e976baddc1b9252af6fb924dbaabb6283b30 /Library/Formula/node.rb | |
| parent | 7311cf32486885e53cacb50174fb9bfbe1bbaf65 (diff) | |
| download | homebrew-0901e7761736f00db73353b0dd86c09a10e2b7bc.tar.bz2 | |
node: remove install_symlink exist? guards.
Diffstat (limited to 'Library/Formula/node.rb')
| -rw-r--r-- | Library/Formula/node.rb | 7 | 
1 files changed, 2 insertions, 5 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index ad8c5a53d..a633672e0 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -61,16 +61,13 @@ class Node < Formula      Pathname.glob(npm_root/"man/*") do |man|        dir = send(man.basename)        man.children.each do |file| -        next if (dir/file.basename).exist?          dir.install_symlink(file)        end      end      if build.with? "completion" -      unless (bash_completion/"npm").exist? -        bash_completion.install_symlink \ -          npm_root/"lib/utils/completion.sh" => "npm" -      end +      bash_completion.install_symlink \ +        npm_root/"lib/utils/completion.sh" => "npm"      end    end  | 
