keg: Install gziped info files during linking
Currently, `brew link` installs `*.info` files to
`#{HOMEBREW_PREFIX}/share/info/dir` using the `install_info` method.
However, some formulae (e.g., `Emacs`) also ship `*.info.gz` files,
which are only `symlink`ed but not installed.
This commit allows `*.info.gz` files to be installed during linking in
addition to the `*.info` files.
This commit is contained in:
parent
29c22e0ab3
commit
401b45fb01
@ -77,7 +77,7 @@ class Keg
|
||||
|
||||
# Locale-specific directories have the form `language[_territory][.codeset][@modifier]`
|
||||
LOCALEDIR_RX = %r{(locale|man)/([a-z]{2}|C|POSIX)(_[A-Z]{2})?(\.[a-zA-Z\-0-9]+(@.+)?)?}
|
||||
INFOFILE_RX = %r{info/([^.].*?\.info|dir)$}
|
||||
INFOFILE_RX = %r{info/([^.].*?\.info(\.gz)?|dir)$}
|
||||
KEG_LINK_DIRECTORIES = %w[
|
||||
bin etc include lib sbin share var
|
||||
].freeze
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user