summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-06-08 17:31:32 +0000
committerMike Gilbert <floppym@gentoo.org>2014-06-08 17:31:32 +0000
commit6a431530a646c210ab6f26d9c835e3e603c1e670 (patch)
treeca197287aa214ee9745c01e08d0bf8f30305283b /www-client/google-chrome
parentChange LICENSE to "metapackage" because it is one. (diff)
downloadgentoo-2-6a431530a646c210ab6f26d9c835e3e603c1e670.tar.gz
gentoo-2-6a431530a646c210ab6f26d9c835e3e603c1e670.tar.bz2
gentoo-2-6a431530a646c210ab6f26d9c835e3e603c1e670.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')
-rw-r--r--www-client/google-chrome/ChangeLog6
-rw-r--r--www-client/google-chrome/google-chrome-35.0.1916.114_p1.ebuild6
2 files changed, 9 insertions, 3 deletions
diff --git a/www-client/google-chrome/ChangeLog b/www-client/google-chrome/ChangeLog
index d05db95621aa..6c1037056aaa 100644
--- a/www-client/google-chrome/ChangeLog
+++ b/www-client/google-chrome/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-client/google-chrome
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.379 2014/05/29 00:44:12 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.380 2014/06/08 17:31:32 floppym Exp $
+
+ 08 Jun 2014; Mike Gilbert <floppym@gentoo.org>
+ google-chrome-35.0.1916.114_p1.ebuild:
+ Check REPLACED_BY in pkg_prerm.
29 May 2014; Mike Gilbert <floppym@gentoo.org>
google-chrome-35.0.1916.114_p1.ebuild:
diff --git a/www-client/google-chrome/google-chrome-35.0.1916.114_p1.ebuild b/www-client/google-chrome/google-chrome-35.0.1916.114_p1.ebuild
index a69b267aa9be..dc54a17b16cf 100644
--- a/www-client/google-chrome/google-chrome-35.0.1916.114_p1.ebuild
+++ b/www-client/google-chrome/google-chrome-35.0.1916.114_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/google-chrome-35.0.1916.114_p1.ebuild,v 1.2 2014/05/29 00:44:12 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-35.0.1916.114_p1.ebuild,v 1.3 2014/06/08 17:31:32 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
}