commit:     8faa428a1c186740e35f0817b6880200d871d4f6
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 16 16:25:11 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 16 16:25:11 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=8faa428a

Remove old compatibility code.

Package-Manager: portage-2.2.8-r1

---
 app-editors/emacs/ChangeLog             |  3 +++
 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 <[email protected]> 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() {

Reply via email to