diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2009-03-11 14:41:48 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2009-03-11 14:41:48 +0000 |
commit | 76aba1e8efaad4e7fa49775ee87ec4beb3f8e7fb (patch) | |
tree | f112aaa31f57dcd1c6aeb786fc6495907edd41bf | |
parent | bump, get rid of timestamp hack, move to EAPI=2 for use dep (diff) | |
download | gentoo-2-76aba1e8efaad4e7fa49775ee87ec4beb3f8e7fb.tar.gz gentoo-2-76aba1e8efaad4e7fa49775ee87ec4beb3f8e7fb.tar.bz2 gentoo-2-76aba1e8efaad4e7fa49775ee87ec4beb3f8e7fb.zip |
Delete /usr/lib*/charset.alias instead of /usr/lib/charset.alias.
It is needed to make multilib work
-rw-r--r-- | profiles/default/bsd/fbsd/profile.bashrc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/profiles/default/bsd/fbsd/profile.bashrc b/profiles/default/bsd/fbsd/profile.bashrc index 01688c8397bd..ff33575b7f2e 100644 --- a/profiles/default/bsd/fbsd/profile.bashrc +++ b/profiles/default/bsd/fbsd/profile.bashrc @@ -1,6 +1,6 @@ #!/bin/bash # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.2 2009/01/24 21:58:18 the_paya Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.3 2009/03/11 14:41:48 drizzt Exp $ alias make=gmake alias patch=gpatch @@ -14,7 +14,8 @@ alias awk=gawk # http://archives.gentoo.org/gentoo-dev/msg_8cb1805411f37b4eb168a3e680e531f3.xml post_src_install() { - if [[ "${PN}" != "libiconv" && -e "${D}"/usr/lib/charset.alias ]] ; then - rm -f "${D}"/usr/lib/charset.alias + echo cucu + if [ "${PN}" != "libiconv" -a -e "${D}"/usr/lib*/charset.alias ] ; then + rm -f "${D}"/usr/lib*/charset.alias fi } |