emacs: fix icon permissions on 24.5
Fixes Homebrew/homebrew#47170. Closes Homebrew/homebrew#47181. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
This commit is contained in:
parent
ce28628354
commit
23ac44ac5a
1 changed files with 8 additions and 0 deletions
|
@ -91,6 +91,14 @@ class Emacs < Formula
|
|||
system "./configure", *args
|
||||
system "make"
|
||||
system "make", "install"
|
||||
|
||||
# Remove when 25.1 is released
|
||||
if build.stable?
|
||||
chmod 0644, %w[nextstep/Emacs.app/Contents/PkgInfo
|
||||
nextstep/Emacs.app/Contents/Resources/Credits.html
|
||||
nextstep/Emacs.app/Contents/Resources/document.icns
|
||||
nextstep/Emacs.app/Contents/Resources/Emacs.icns]
|
||||
end
|
||||
prefix.install "nextstep/Emacs.app"
|
||||
|
||||
# Replace the symlink with one that avoids starting Cocoa.
|
||||
|
|
Loading…
Reference in a new issue