Fixed file locationa nd gave info about sourcing /etc/profile.
authorJeremy Huddleston <eradicator@gentoo.org>
Sat, 1 Oct 2005 11:34:37 +0000 (11:34 +0000)
committerJeremy Huddleston <eradicator@gentoo.org>
Sat, 1 Oct 2005 11:34:37 +0000 (11:34 +0000)
Package-Manager: portage-2.0.52-r1

app-admin/eselect-compiler/Manifest
app-admin/eselect-compiler/eselect-compiler-2.0.0_beta1.ebuild

index 7a05fa1e9f72e08d1b551ca1ad1970062c9aff08..6903ed692f2de3e05d153111f57f237da1896bc8 100644 (file)
@@ -1,4 +1,4 @@
-MD5 19e9c1064ab45a294c72c6c9180fa3ee eselect-compiler-2.0.0_beta1.ebuild 981
+MD5 508fa0372e7cf48ff62cb5e93aee89d7 eselect-compiler-2.0.0_beta1.ebuild 1080
 MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
 MD5 a5b66d814ca5b417c0d69383d23bdaa9 ChangeLog 524
 MD5 6a84d27b97ff6b402f440f99db15aa0c files/digest-eselect-compiler-2.0.0_beta1 79
index 77d8b9c1b82c3d75f0a1e890492ea571b7f71898..c119c3fc4c311b348d1395a18ef68c919132be3a 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-compiler/eselect-compiler-2.0.0_beta1.ebuild,v 1.1 2005/10/01 03:25:44 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-compiler/eselect-compiler-2.0.0_beta1.ebuild,v 1.2 2005/10/01 11:34:37 eradicator Exp $
 
 DESCRIPTION="Utility to configure the active toolchain compiler"
 HOMEPAGE="http://www.gentoo.org/"
@@ -20,12 +20,16 @@ RDEPEND="app-admin/eselect"
 
 pkg_postinst() {
        # Migrate from the old configs
-       if [[ ! -f "${ROOT}/eselect/compiler/selection.conf" ]] ; then
+       if [[ ! -f "${ROOT}/etc/eselect/compiler/selection.conf" ]] ; then
                eselect compiler migrate
        fi
 
        # Update the wrappers
        eselect compiler update
+
+       rm -f ${ROOT}/etc/env.d/05gcc*
+
+       ewarn "You should source /etc/profile in your open shells."
 }
 
 src_install() {