diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-03-13 09:12:45 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-03-13 09:12:45 +0000 |
commit | 5556ece4173eea0525a139c8a415d54e000b880f (patch) | |
tree | 84285335c3f65f01846a06d31582a85138ec0f00 /app-emacs | |
parent | System for managing development buildouts. (diff) | |
download | historical-5556ece4173eea0525a139c8a415d54e000b880f.tar.gz historical-5556ece4173eea0525a139c8a415d54e000b880f.tar.bz2 historical-5556ece4173eea0525a139c8a415d54e000b880f.zip |
Remove orphan files only if this is not a reinstall.
Package-Manager: portage-2.2_rc25/cvs/Linux i686
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/emacs-common-gentoo/ChangeLog | 6 | ||||
-rw-r--r-- | app-emacs/emacs-common-gentoo/Manifest | 10 | ||||
-rw-r--r-- | app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild | 10 |
3 files changed, 17 insertions, 9 deletions
diff --git a/app-emacs/emacs-common-gentoo/ChangeLog b/app-emacs/emacs-common-gentoo/ChangeLog index 14c5c67a217f..09ce5723811d 100644 --- a/app-emacs/emacs-common-gentoo/ChangeLog +++ b/app-emacs/emacs-common-gentoo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/emacs-desktop # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/ChangeLog,v 1.2 2009/03/12 09:44:24 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/ChangeLog,v 1.3 2009/03/13 09:12:45 ulm Exp $ + + 13 Mar 2009; Ulrich Mueller <ulm@gentoo.org> + emacs-common-gentoo-1.0.ebuild: + Remove orphan files only if this is not a reinstall. *emacs-common-gentoo-1.0 (12 Mar 2009) *emacs-common-gentoo-0.3 (12 Mar 2009) diff --git a/app-emacs/emacs-common-gentoo/Manifest b/app-emacs/emacs-common-gentoo/Manifest index d32204ad4da7..ced84da3b059 100644 --- a/app-emacs/emacs-common-gentoo/Manifest +++ b/app-emacs/emacs-common-gentoo/Manifest @@ -4,13 +4,13 @@ Hash: SHA1 DIST emacs-common-gentoo-1.0.tar.gz 14268 RMD160 3dad4c2955fc8d9be095500305d67c36e587eef0 SHA1 2d646e3761a2eb23c359e0fb45743f553ade07b6 SHA256 eafc05a71b7b77084073ab82e9bf92c4a4dec1b61feb8a7adaa0b3194f95e2cd DIST emacs-desktop-0.3.tar.gz 14364 RMD160 bfcc3977ac602696330fde87878b2bc263267851 SHA1 9aab71bafad38be598d9f8ffcbd8c6b7b2a87854 SHA256 e4bc226140ce242679c400298a3760441dfd33e37f9e9a7f01f960b4a6eb97ae EBUILD emacs-common-gentoo-0.3.ebuild 1006 RMD160 946600929dc6f9339ec7920ae053a04e45083008 SHA1 936e6d8353f23e47728bf2703398cfca4ea3970c SHA256 151f5e9325afe96db2c0f156b4ca21004ac6341240fd38e8fa82b4eb0f1037c1 -EBUILD emacs-common-gentoo-1.0.ebuild 3228 RMD160 469c13498f71e32255e4cd0e11162087480f13f1 SHA1 fa22bbf036bb85f435bc890a3d782f9133c6260f SHA256 ae61f0df52c22fcf53fb70041cc75eb8cfcd400175ddb32025c05dc7171455c3 -MISC ChangeLog 4141 RMD160 c175d0929bbcd1b2dc5631c1756162da3e75f84b SHA1 3c838d4c1003f59fe71052b243c01deb66a0161c SHA256 f69cdb3ed611e2d7e0d0c90b07a3a517e80eca87cad69aee9a77480c65da9321 +EBUILD emacs-common-gentoo-1.0.ebuild 3342 RMD160 e390b8b687009f9b8bbf1f5d3ae5901281676bc7 SHA1 05b14b0ea04ff586086906ab0f58d3ab25361a56 SHA256 9bc9de844a8bbf976982b99b50d05bd485f5af662b1c5b9a39fc3bf116948b8b +MISC ChangeLog 4278 RMD160 f93039fa0d5fbd4da715506a76b1fd1c0121d058 SHA1 b3cc3fd34337766e14945ea465537a8939ec2ca0 SHA256 140b1ce01c0e6dbd5ea7345f7f1846c906beb2032d68de36c8f97e0723455855 MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) -iEYEARECAAYFAkm5F6YACgkQOeoy/oIi7uwf7ACgr5hh69ICJdbdNvBgAw+KsxoJ -/sMAnjWxC65zNW/qLFYTbFL3OHG1jwwL -=5FEN +iEYEARECAAYFAkm6I90ACgkQOeoy/oIi7uw75wCcCaj0wsBnuew60Db0TK32LAmh +EkIAoJFck9ZNP3BvwFLlgDRf84By7868 +=qsY0 -----END PGP SIGNATURE----- diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild index a34408073fbc..2e5ecfb2e8b7 100644 --- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild +++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild,v 1.2 2009/03/12 14:08:22 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild,v 1.3 2009/03/13 09:12:45 ulm Exp $ inherit elisp-common eutils fdo-mime gnome2-utils @@ -16,8 +16,12 @@ IUSE="X" PDEPEND="virtual/emacs" pkg_setup() { - # clean up orphan file installed by old Emacs ebuilds - rm -f "${ROOT}${SITELISP}/subdirs.el" + if [ -e "${ROOT}${SITELISP}/subdirs.el" ] \ + && ! has_version ">=${CATEGORY}/${PN}-1" + then + ewarn "Removing orphan subdirs.el (installed by old Emacs ebuilds)" + rm -f "${ROOT}${SITELISP}/subdirs.el" + fi } src_install() { |