summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-04-08 12:11:00 +0000
committerUlrich Müller <ulm@gentoo.org>2010-04-08 12:11:00 +0000
commit436223b1065eed21b18be005deb8d3e484ab56aa (patch)
tree5f5cca7b21a16097e445e80df366f097776d9755
parentclean up (diff)
downloadgentoo-2-436223b1065eed21b18be005deb8d3e484ab56aa.tar.gz
gentoo-2-436223b1065eed21b18be005deb8d3e484ab56aa.tar.bz2
gentoo-2-436223b1065eed21b18be005deb8d3e484ab56aa.zip
Fix owner of scores files.
(Portage version: 2.2_rc67/cvs/Linux i686)
-rw-r--r--app-editors/emacs/ChangeLog6
-rw-r--r--app-editors/emacs/emacs-22.3-r4.ebuild7
-rw-r--r--app-editors/emacs/emacs-23.1-r3.ebuild7
3 files changed, 15 insertions, 5 deletions
diff --git a/app-editors/emacs/ChangeLog b/app-editors/emacs/ChangeLog
index 1f31a83a75e9..09573479a008 100644
--- a/app-editors/emacs/ChangeLog
+++ b/app-editors/emacs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-editors/emacs
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.371 2010/03/11 08:50:36 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.372 2010/04/08 12:11:00 ulm Exp $
+
+ 08 Apr 2010; Ulrich Mueller <ulm@gentoo.org> emacs-22.3-r4.ebuild,
+ emacs-23.1-r3.ebuild:
+ Fix owner of scores files.
11 Mar 2010; Ulrich Mueller <ulm@gentoo.org> emacs-18.59-r6.ebuild,
emacs-21.4-r20.ebuild, emacs-22.3-r4.ebuild, emacs-23.1-r3.ebuild:
diff --git a/app-editors/emacs/emacs-22.3-r4.ebuild b/app-editors/emacs/emacs-22.3-r4.ebuild
index 084bcceb318d..559b358b0d14 100644
--- a/app-editors/emacs/emacs-22.3-r4.ebuild
+++ b/app-editors/emacs/emacs-22.3-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.3-r4.ebuild,v 1.2 2010/03/11 08:50:36 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.3-r4.ebuild,v 1.3 2010/04/08 12:11:00 ulm Exp $
EAPI=2
@@ -225,7 +225,10 @@ emacs-infodir-rebuild() {
pkg_postinst() {
local f
for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
- [ -e "${f}" ] || touch "${f}"
+ if [ ! -e "${f}" ]; then
+ touch "${f}"
+ chown games "${f}"
+ fi
done
elisp-site-regen
diff --git a/app-editors/emacs/emacs-23.1-r3.ebuild b/app-editors/emacs/emacs-23.1-r3.ebuild
index 821d1d67bb5a..63e8a6371808 100644
--- a/app-editors/emacs/emacs-23.1-r3.ebuild
+++ b/app-editors/emacs/emacs-23.1-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.1-r3.ebuild,v 1.2 2010/03/11 08:50:36 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.1-r3.ebuild,v 1.3 2010/04/08 12:11:00 ulm Exp $
EAPI=2
@@ -280,7 +280,10 @@ emacs-infodir-rebuild() {
pkg_postinst() {
local f
for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
- [ -e "${f}" ] || touch "${f}"
+ if [ ! -e "${f}" ]; then
+ touch "${f}"
+ chown games "${f}"
+ fi
done
elisp-site-regen