update-report: print message on completion link failure.
This commit is contained in:
parent
1f128331b6
commit
8bf405e5f7
@ -302,6 +302,11 @@ module Homebrew
|
|||||||
link_src_dst_dirs(repository/"share/zsh/site-functions",
|
link_src_dst_dirs(repository/"share/zsh/site-functions",
|
||||||
HOMEBREW_PREFIX/"share/zsh/site-functions", command)
|
HOMEBREW_PREFIX/"share/zsh/site-functions", command)
|
||||||
link_path_manpages(repository/"share", command)
|
link_path_manpages(repository/"share", command)
|
||||||
|
rescue => e
|
||||||
|
ofail <<-EOS.undent
|
||||||
|
Failed to link all completions, docs and manpages:
|
||||||
|
#{e}
|
||||||
|
EOS
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user