diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-06-08 17:31:58 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2014-06-08 17:31:58 +0000 |
commit | c9a5709fd7c1574f0a02746624859d73cb22927c (patch) | |
tree | 776cf00bea03e4df4ad6f2ad9f84ebce0bddad06 /www-client/google-chrome-unstable | |
parent | Check REPLACED_BY in pkg_prerm. (diff) | |
download | gentoo-2-c9a5709fd7c1574f0a02746624859d73cb22927c.tar.gz gentoo-2-c9a5709fd7c1574f0a02746624859d73cb22927c.tar.bz2 gentoo-2-c9a5709fd7c1574f0a02746624859d73cb22927c.zip |
Check REPLACED_BY in pkg_prerm.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'www-client/google-chrome-unstable')
-rw-r--r-- | www-client/google-chrome-unstable/ChangeLog | 6 | ||||
-rw-r--r-- | www-client/google-chrome-unstable/google-chrome-unstable-37.0.2031.2_p1.ebuild | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/www-client/google-chrome-unstable/ChangeLog b/www-client/google-chrome-unstable/ChangeLog index a22d7ebd376e..e9d5aa3d6827 100644 --- a/www-client/google-chrome-unstable/ChangeLog +++ b/www-client/google-chrome-unstable/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-client/google-chrome-unstable # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome-unstable/ChangeLog,v 1.35 2014/06/06 02:10:51 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome-unstable/ChangeLog,v 1.36 2014/06/08 17:31:58 floppym Exp $ + + 08 Jun 2014; Mike Gilbert <floppym@gentoo.org> + google-chrome-unstable-37.0.2031.2_p1.ebuild: + Check REPLACED_BY in pkg_prerm. *google-chrome-unstable-37.0.2031.2_p1 (06 Jun 2014) diff --git a/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2031.2_p1.ebuild b/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2031.2_p1.ebuild index 1e655d4baa3e..986df81c58e0 100644 --- a/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2031.2_p1.ebuild +++ b/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2031.2_p1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2031.2_p1.ebuild,v 1.1 2014/06/06 02:10:51 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2031.2_p1.ebuild,v 1.2 2014/06/08 17:31:58 floppym Exp $ EAPI="5" @@ -170,5 +170,7 @@ pkg_postinst() { } pkg_prerm() { - rm -f "${EROOT}${CHROME_HOME}/libudev.so.0" + if [[ -z ${REPLACED_BY} ]]; then + rm -f "${EROOT}${CHROME_HOME}/libudev.so.0" + fi } |