From 59dc28b8f911d1d652b41ca0bee1b8d3c8d81607 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 30 May 2018 07:19:27 +0200 Subject: [PATCH] sync with upstream --- e/emacs/SlackBuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/e/emacs/SlackBuild b/e/emacs/SlackBuild index 85f07266..96452a0f 100755 --- a/e/emacs/SlackBuild +++ b/e/emacs/SlackBuild @@ -116,9 +116,13 @@ make install DESTDIR=$PKG || exit 1 # chmod +x $PKG/usr/bin/emacs ) -# I don't care for broken permissions. -chmod 755 $PKG/var/games/emacs -chown -R games:root $PKG/var/games/emacs +# Seems like this nonsense is finally obsolete: +if [ -d $PKG/var/games/emacs ]; then + # I don't care for broken permissions. + chmod 755 $PKG/var/games/emacs + chown -R root:games $PKG/var/games/emacs + chmod 664 $PKG/var/games/emacs/* +fi # This avoids a collision with Exuberant Ctags... mv $PKG/usr/bin/ctags $PKG/usr/bin/ctags-emacs