public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/emacs:master commit in: app-emacs/emacs-common-gentoo/
Date: Tue, 10 Feb 2015 14:12:35 +0000 (UTC)	[thread overview]
Message-ID: <1423577915.72c622efe628fde75b4db47ff57a732dc129490e.ulm@gentoo> (raw)

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 <ulm@gentoo.org>
+  emacs-common-gentoo-9999-r1.ebuild:
+  Fix permissions of shared score dir in pkg_postinst.
+
   09 Feb 2015; Ulrich Müller <ulm@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


             reply	other threads:[~2015-02-10 14:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10 14:12 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-03-21  9:45 [gentoo-commits] proj/emacs:master commit in: app-emacs/emacs-common-gentoo/ Ulrich Müller
2015-07-12  6:53 Ulrich Müller
2015-02-22 18:34 Ulrich Müller
2015-02-22 18:26 Ulrich Müller
2015-02-21 12:03 Ulrich Müller
2015-02-20 11:12 Ulrich Müller
2015-02-19 22:07 Ulrich Müller
2015-02-09 12:09 Ulrich Müller
2015-01-23  6:10 Ulrich Müller
2015-01-21 22:13 Ulrich Müller
2015-01-21 21:43 Ulrich Müller
2015-01-21 21:43 Ulrich Müller
2013-11-16 12:41 Ulrich Müller
2013-11-15 13:42 Ulrich Müller
2013-11-13  9:47 Ulrich Müller
2013-10-31 15:07 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1423577915.72c622efe628fde75b4db47ff57a732dc129490e.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox