diff options
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/man.rb | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Library/Homebrew/cmd/man.rb b/Library/Homebrew/cmd/man.rb index 0191d76c7..c873e7568 100644 --- a/Library/Homebrew/cmd/man.rb +++ b/Library/Homebrew/cmd/man.rb @@ -11,7 +11,7 @@ module Homebrew raise UsageError unless ARGV.named.empty? if ARGV.flag? "--link" - link_man_pages + odie "`brew man --link` is now done automatically by `brew update`." else regenerate_man_pages end @@ -19,18 +19,6 @@ module Homebrew private - def link_man_pages - linked_path = HOMEBREW_PREFIX/"share/man/man1" - - if TARGET_MAN_PATH == linked_path - odie "The target path is the same as the linked one." - end - - Dir["#{TARGET_MAN_PATH}/*.1"].each do |page| - FileUtils.ln_s page, linked_path - end - end - def regenerate_man_pages Homebrew.install_gem_setup_path! "ronn" |
