commit: 72c622efe628fde75b4db47ff57a732dc129490e Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Tue Feb 10 14:18:35 2015 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue Feb 10 14:18:35 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=72c622ef
app-emacs/emacs-common-gentoo: Fix permissions of shared score dir in pkg_postinst. Package-Manager: portage-2.2.16 --- app-emacs/emacs-common-gentoo/ChangeLog | 4 ++++ app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/app-emacs/emacs-common-gentoo/ChangeLog b/app-emacs/emacs-common-gentoo/ChangeLog index e44bb76..40b3c91 100644 --- a/app-emacs/emacs-common-gentoo/ChangeLog +++ b/app-emacs/emacs-common-gentoo/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 10 Feb 2015; Ulrich Müller <u...@gentoo.org> + emacs-common-gentoo-9999-r1.ebuild: + Fix permissions of shared score dir in pkg_postinst. + 09 Feb 2015; Ulrich Müller <u...@gentoo.org> emacs-common-gentoo-9999-r1.ebuild: Use group 'scores' instead of 'games' for shared score files. diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild index 04dc5ad..564b4bf 100644 --- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild +++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild @@ -129,6 +129,11 @@ pkg_preinst() { } pkg_postinst() { + # update permissions of shared score dir + chmod 755 "${EROOT}"/var/games + chown root:scores "${EROOT}"/var/games/emacs + chmod 775 "${EROOT}"/var/games/emacs + if use X; then fdo-mime_desktop_database_update gnome2_icon_cache_update