diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-10-07 18:54:26 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-10-07 18:54:26 +0000 |
commit | dc593bde2ca6d04f5e751437d5856d1100e41cc7 (patch) | |
tree | 07f97b20dd4e6ccffcb12cfc0d2e148a301dba82 /dev-lang | |
parent | Version bump (diff) | |
download | gentoo-2-dc593bde2ca6d04f5e751437d5856d1100e41cc7.tar.gz gentoo-2-dc593bde2ca6d04f5e751437d5856d1100e41cc7.tar.bz2 gentoo-2-dc593bde2ca6d04f5e751437d5856d1100e41cc7.zip |
Install env file in case of absent older one
(Portage version: 2.2_rc44/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/icc/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/icc/icc-11.1.056.ebuild | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/dev-lang/icc/ChangeLog b/dev-lang/icc/ChangeLog index 47c117bf7825..c130d7d320c1 100644 --- a/dev-lang/icc/ChangeLog +++ b/dev-lang/icc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/icc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.72 2009/10/06 20:33:05 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.73 2009/10/07 18:54:26 bicatali Exp $ + + 07 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> icc-11.1.056.ebuild: + Install env file in case of absent older one *icc-11.1.056 (06 Oct 2009) diff --git a/dev-lang/icc/icc-11.1.056.ebuild b/dev-lang/icc/icc-11.1.056.ebuild index ba8c89045fda..58893ca460d6 100644 --- a/dev-lang/icc/icc-11.1.056.ebuild +++ b/dev-lang/icc/icc-11.1.056.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/dev-lang/icc/icc-11.1.056.ebuild,v 1.2 2009/10/06 22:17:06 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-11.1.056.ebuild,v 1.3 2009/10/07 18:54:26 bicatali Exp $ EAPI=2 @@ -119,7 +119,8 @@ src_install() { NLSPATH="${ROOT}${DESTINATION}/lib/locale/en_US/%N" MANPATH="${ROOT}${DESTINATION}/man/en_US" EOF - if [ -n "$(diff ${ROOT}etc/env.d/${envf} ./${envf})" ]; then + if [ ! -e ${ROOT}etc/env.d/${envf} ] || + [ -n "$(diff ${ROOT}etc/env.d/${envf} ./${envf})" ]; then doenvd ${envf} || die "doenvd ${envf} failed" fi [ -d ${DESTINATION}/idb ] && \ |