diff options
author | Ulrich Müller <ulm@gentoo.org> | 2014-03-16 17:25:11 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2014-03-16 17:25:11 +0100 |
commit | 8faa428a1c186740e35f0817b6880200d871d4f6 (patch) | |
tree | fec47949ea07fc30c064f93fbf926194d3884d3e /app-editors | |
parent | Copied from Portage tree. (diff) | |
download | emacs-8faa428a1c186740e35f0817b6880200d871d4f6.tar.gz emacs-8faa428a1c186740e35f0817b6880200d871d4f6.tar.bz2 emacs-8faa428a1c186740e35f0817b6880200d871d4f6.zip |
Remove old compatibility code.
Package-Manager: portage-2.2.8-r1
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/emacs/ChangeLog | 3 | ||||
-rw-r--r-- | app-editors/emacs/emacs-18.59-r9.ebuild | 11 |
2 files changed, 3 insertions, 11 deletions
diff --git a/app-editors/emacs/ChangeLog b/app-editors/emacs/ChangeLog index ce56efb..67d3727 100644 --- a/app-editors/emacs/ChangeLog +++ b/app-editors/emacs/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 16 Mar 2014; Ulrich Müller <ulm@gentoo.org> emacs-18.59-r9.ebuild: + Remove old compatibility code. + *emacs-24.3-r2 (16 Mar 2014) *emacs-23.4-r6 (16 Mar 2014) *emacs-22.3-r10 (16 Mar 2014) diff --git a/app-editors/emacs/emacs-18.59-r9.ebuild b/app-editors/emacs/emacs-18.59-r9.ebuild index 5761e0d..6e89c68 100644 --- a/app-editors/emacs/emacs-18.59-r9.ebuild +++ b/app-editors/emacs/emacs-18.59-r9.ebuild @@ -143,17 +143,6 @@ pkg_preinst() { if [[ -d "${D}"/usr/share/info ]]; then mv "${D}"/usr/share/info/emacs-${SLOT}/dir{.orig,} || die fi - - # remove symlink and directory installed by -r6 and earlier - if [[ -L "${ROOT}"/usr/share/info/emacs-${SLOT} ]]; then - ewarn "Removing old symlink /usr/share/info/emacs-${SLOT}" - rm "${ROOT}"/usr/share/info/emacs-${SLOT} || die - fi - if [[ -d "${ROOT}"/usr/share/emacs/${PV}/info \ - && ! -L "${ROOT}"/usr/share/emacs/${PV}/info ]]; then - ewarn "Removing old directory /usr/share/emacs/${PV}/info" - rm -r "${ROOT}"/usr/share/emacs/${PV}/info || die - fi } pkg_postinst() { |