diff options
| author | Mike McQuaid | 2016-09-19 19:59:06 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-20 10:41:42 +0100 |
| commit | 6ff7fed070a938c2ac6ec04c9048502a29c7b1e8 (patch) | |
| tree | 4d7750aa730f73dd6fcb4b03b6c06194dbb419d9 /Library | |
| parent | 0d76dfadcc11a2131917a4a677cc82bc16710b7c (diff) | |
| download | brew-6ff7fed070a938c2ac6ec04c9048502a29c7b1e8.tar.bz2 | |
update-report: link new completion/docs locations.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/update-report.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index b096dfc3b..1e9c8ccd3 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -294,15 +294,15 @@ module Homebrew end def link_completions_and_docs(repository = HOMEBREW_REPOSITORY) - return if HOMEBREW_PREFIX.to_s == repository.to_s command = "brew update" - link_src_dst_dirs(repository/"etc/bash_completion.d", + link_src_dst_dirs(repository/"completions/bash", HOMEBREW_PREFIX/"etc/bash_completion.d", command) - link_src_dst_dirs(repository/"share/doc/homebrew", + link_src_dst_dirs(repository/"docs", HOMEBREW_PREFIX/"share/doc/homebrew", command, link_dir: true) - link_src_dst_dirs(repository/"share/zsh/site-functions", + link_src_dst_dirs(repository/"completions/zsh", HOMEBREW_PREFIX/"share/zsh/site-functions", command) - link_path_manpages(repository/"share", command) + link_src_dst_dirs(repository/"manpages", + HOMEBREW_PREFIX/"share/man/man1", command) rescue => e ofail <<-EOS.undent Failed to link all completions, docs and manpages: |
