diff options
author | Michael Weber <xmw@gentoo.org> | 2010-10-27 11:32:07 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-10-27 11:32:07 +0000 |
commit | ebf854948ef4f038816737ed3a13eca2612e471a (patch) | |
tree | 3522e8dc64fa678b8349694721f6514c2ec974d5 /app-misc/specto/specto-0.3.1.ebuild | |
parent | Corrected typo in the src_install eblit (#342769) (diff) | |
download | historical-ebf854948ef4f038816737ed3a13eca2612e471a.tar.gz historical-ebf854948ef4f038816737ed3a13eca2612e471a.tar.bz2 historical-ebf854948ef4f038816737ed3a13eca2612e471a.zip |
Only respect LINGUAS if set
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'app-misc/specto/specto-0.3.1.ebuild')
-rw-r--r-- | app-misc/specto/specto-0.3.1.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app-misc/specto/specto-0.3.1.ebuild b/app-misc/specto/specto-0.3.1.ebuild index fe8b49f4cdf3..7d42458c5cfe 100644 --- a/app-misc/specto/specto-0.3.1.ebuild +++ b/app-misc/specto/specto-0.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/specto/specto-0.3.1.ebuild,v 1.1 2010/10/26 17:22:44 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/specto/specto-0.3.1.ebuild,v 1.2 2010/10/27 11:32:07 xmw Exp $ EAPI=2 @@ -30,6 +30,8 @@ src_prepare() { sed -e "s:share/doc/specto:share/doc/${PF}:" \ -i setup.py spectlib/util.py || die - sed -e "/^i18n_languages = /s: = .*: = \"${LINGUAS}\":" \ - -i setup.py || die + if [ -n "${LINGUAS}" ] ; then + sed -e "/^i18n_languages = /s: = .*: = \"${LINGUAS}\":" \ + -i setup.py || die + fi } |