summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-10-27 11:32:07 +0000
committerMichael Weber <xmw@gentoo.org>2010-10-27 11:32:07 +0000
commit17768ef36dadd3ca3032b13e36620b14b3406a21 (patch)
treeccb0fe213356f8851278530c8f5b2f9e42e83f67 /app-misc/specto
parentCorrected typo in the src_install eblit (#342769) (diff)
downloadgentoo-2-17768ef36dadd3ca3032b13e36620b14b3406a21.tar.gz
gentoo-2-17768ef36dadd3ca3032b13e36620b14b3406a21.tar.bz2
gentoo-2-17768ef36dadd3ca3032b13e36620b14b3406a21.zip
Only respect LINGUAS if set
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/specto')
-rw-r--r--app-misc/specto/ChangeLog5
-rw-r--r--app-misc/specto/specto-0.3.1.ebuild8
2 files changed, 9 insertions, 4 deletions
diff --git a/app-misc/specto/ChangeLog b/app-misc/specto/ChangeLog
index 704f60a615de..09ea9741ec5f 100644
--- a/app-misc/specto/ChangeLog
+++ b/app-misc/specto/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/specto
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/specto/ChangeLog,v 1.1 2010/10/26 17:22:44 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/specto/ChangeLog,v 1.2 2010/10/27 11:32:07 xmw Exp $
+
+ 27 Oct 2010; Michael Weber <xmw@gentoo.org> specto-0.3.1.ebuild:
+ Only respect LINGUAS if set, fixes bug #342913
*specto-0.3.1 (26 Oct 2010)
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
}