From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-886016-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id A087E13829C
	for <garchives@archives.gentoo.org>; Tue,  7 Jun 2016 17:27:56 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F3A85254020;
	Tue,  7 Jun 2016 17:27:50 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 92231254020
	for <gentoo-commits@lists.gentoo.org>; Tue,  7 Jun 2016 17:27:50 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 07507340BD7
	for <gentoo-commits@lists.gentoo.org>; Tue,  7 Jun 2016 17:27:49 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 57F931AE8
	for <gentoo-commits@lists.gentoo.org>; Tue,  7 Jun 2016 17:27:46 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1465320436.5b65252e481ae9b60d2b0253f4c01a000beba97c.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-common-gentoo/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild
X-VCS-Directories: app-emacs/emacs-common-gentoo/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 5b65252e481ae9b60d2b0253f4c01a000beba97c
X-VCS-Branch: master
Date: Tue,  7 Jun 2016 17:27:46 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 41858e9b-bbc5-462e-8525-8f48ec36e5e3
X-Archives-Hash: f4b8c3b313385c8eacc75c266de1b9bf

commit:     5b65252e481ae9b60d2b0253f4c01a000beba97c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  7 17:27:16 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jun  7 17:27:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b65252e

app-emacs/emacs-common-gentoo: Remove backwards compatibility code.

Package-Manager: portage-2.3.0_rc1

 app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild
index e2486ba..ebdfe42 100644
--- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild
+++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -84,20 +84,12 @@ pkg_preinst() {
 		for f in /var/games/emacs/{snake,tetris}-scores; do
 			if [[ -e ${EROOT}${f} ]]; then
 				cp "${EROOT}${f}" "${ED}${f}" || die
-			elif [[ -e ${EROOT}/var/lib${f#/var} ]]; then
-				# backwards compatibility
-				cp "${EROOT}/var/lib${f#/var}" "${ED}${f}" || die
 			fi
 			touch "${ED}${f}" || die
 			chgrp gamestat "${ED}${f}" || die
 			chmod g+w "${ED}${f}" || die
 		done
 
-		if [[ -d ${EROOT}/var/games && -z $(find "${EROOT}"/var/games \
-				-maxdepth 0 -uid 0 -gid 0 -perm 755 -print) ]]; then
-			chown 0:0 "${EROOT}"/var/games || die
-			chmod 755 "${EROOT}"/var/games || die
-		fi
 		if has 1.4-r1 ${REPLACING_VERSIONS} \
 				&& [[ -d ${EROOT}/var/games/emacs ]]; then
 			elog "Updating owner and permissions of score file directory."