summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/emacs-vcs/emacs-vcs-23.1.9999-r3.ebuild')
-rw-r--r--app-editors/emacs-vcs/emacs-vcs-23.1.9999-r3.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/app-editors/emacs-vcs/emacs-vcs-23.1.9999-r3.ebuild b/app-editors/emacs-vcs/emacs-vcs-23.1.9999-r3.ebuild
index 1f38c33bf7e9..fc150099a970 100644
--- a/app-editors/emacs-vcs/emacs-vcs-23.1.9999-r3.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-23.1.9999-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-vcs/emacs-vcs-23.1.9999-r3.ebuild,v 1.1 2010/03/10 08:18:58 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-23.1.9999-r3.ebuild,v 1.2 2010/04/08 12:11:34 ulm Exp $
EAPI=2
@@ -277,7 +277,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