From bc28fac1f257f3d16697af6cf3d180e2fa81adb7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 31 Dec 2007 16:21:18 +0000 Subject: make sure to punt eselect-compiler env.d entry if need be (Portage version: 2.1.4_rc12) --- sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sys-devel') diff --git a/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild b/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild index 81ad2c5a4bb2..1bad824fca55 100644 --- a/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild +++ b/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild,v 1.6 2007/12/29 19:28:12 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild,v 1.7 2007/12/31 16:21:18 vapier Exp $ inherit flag-o-matic toolchain-funcs multilib @@ -50,6 +50,11 @@ pkg_postinst() { gcc-config $(/usr/bin/gcc-config --get-current-profile) fi + # Scrub eselect-compiler remains + if [[ -e ${ROOT}/etc/env.d/05compiler ]] ; then + rm -f "${ROOT}"/etc/env.d/05compiler + fi + # Make sure old versions dont exist #79062 rm -f "${ROOT}"/usr/sbin/gcc-config } -- cgit v1.2.3-65-gdbad