diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-06-22 19:47:19 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-06-22 19:47:19 +0000 |
commit | 956d9a6926d5e05f84b6fe00e6e737ff0db1e5b9 (patch) | |
tree | 6b50b47e77e8435499777b2bb00052a6b9feffca /net-print | |
parent | Remove the -locale patch as gdb crashes elseway, reopen bug #125264. (diff) | |
download | gentoo-2-956d9a6926d5e05f84b6fe00e6e737ff0db1e5b9.tar.gz gentoo-2-956d9a6926d5e05f84b6fe00e6e737ff0db1e5b9.tar.bz2 gentoo-2-956d9a6926d5e05f84b6fe00e6e737ff0db1e5b9.zip |
better fix for bug 136884
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/cups/cups-1.2.1-r2.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net-print/cups/cups-1.2.1-r2.ebuild b/net-print/cups/cups-1.2.1-r2.ebuild index 6f32a7009b05..7af2f186e923 100644 --- a/net-print/cups/cups-1.2.1-r2.ebuild +++ b/net-print/cups/cups-1.2.1-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.2.1-r2.ebuild,v 1.3 2006/06/22 18:45:11 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.2.1-r2.ebuild,v 1.4 2006/06/22 19:47:19 genstef Exp $ inherit eutils flag-o-matic multilib autotools @@ -162,8 +162,9 @@ pkg_postinst() { # place symlinks to make the update smoothless for i in ${ROOT}/usr/lib/cups/{backend,filter}/*; do - [ "${i/\*}" != "${i}" ] && continue; - ln -s ${i} ${i/lib/libexec} + if [ "${i/\*}" == "${i}" ] && ! [ -e ${i/lib/libexec} ]; then + ln -s ${i} ${i/lib/libexec} + fi done fi } |