diff options
author | Ulrich Müller <ulm@gentoo.org> | 2016-06-07 19:27:16 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2016-06-07 19:27:16 +0200 |
commit | 5b65252e481ae9b60d2b0253f4c01a000beba97c (patch) | |
tree | 88a50758ccfca16661220bcb41f9224da92605a5 /app-emacs/emacs-common-gentoo | |
parent | app-emulation/wine: Fix ebuild bug with !abi_x86_64 (diff) | |
download | gentoo-5b65252e481ae9b60d2b0253f4c01a000beba97c.tar.gz gentoo-5b65252e481ae9b60d2b0253f4c01a000beba97c.tar.bz2 gentoo-5b65252e481ae9b60d2b0253f4c01a000beba97c.zip |
app-emacs/emacs-common-gentoo: Remove backwards compatibility code.
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'app-emacs/emacs-common-gentoo')
-rw-r--r-- | app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild | 10 |
1 files changed, 1 insertions, 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 e2486bacba87..ebdfe42d045f 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." |