aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/node.rb')
-rw-r--r--Library/Formula/node.rb7
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