summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2013-12-27 14:31:19 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2013-12-27 14:31:19 +0000
commit88c4fb4d2525d8d52f7e480ef8fbe7155d2a5f85 (patch)
tree2e2e8d4d7ef3d18e9545fb2484029dc25a3c1ac1 /app-office/libreoffice-l10n
parentAdd x11-libs/libXcursor dependency to 3.4 branch, bug #495058. Fix session fi... (diff)
downloadgentoo-2-88c4fb4d2525d8d52f7e480ef8fbe7155d2a5f85.tar.gz
gentoo-2-88c4fb4d2525d8d52f7e480ef8fbe7155d2a5f85.tar.bz2
gentoo-2-88c4fb4d2525d8d52f7e480ef8fbe7155d2a5f85.zip
Add some spaces, bug 491728, thanks to Zhang Hongjiu
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 84AD142F)
Diffstat (limited to 'app-office/libreoffice-l10n')
-rw-r--r--app-office/libreoffice-l10n/ChangeLog6
-rw-r--r--app-office/libreoffice-l10n/libreoffice-l10n-4.1.4.2.ebuild15
2 files changed, 14 insertions, 7 deletions
diff --git a/app-office/libreoffice-l10n/ChangeLog b/app-office/libreoffice-l10n/ChangeLog
index 1feb2c42845c..a31877c1c88f 100644
--- a/app-office/libreoffice-l10n/ChangeLog
+++ b/app-office/libreoffice-l10n/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/libreoffice-l10n
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.96 2013/12/27 08:03:00 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.97 2013/12/27 14:31:19 dilfridge Exp $
+
+ 27 Dec 2013; Andreas K. Huettel <dilfridge@gentoo.org>
+ libreoffice-l10n-4.1.4.2.ebuild:
+ Add some spaces, bug 491728, thanks to Zhang Hongjiu
*libreoffice-l10n-4.1.4.2 (27 Dec 2013)
diff --git a/app-office/libreoffice-l10n/libreoffice-l10n-4.1.4.2.ebuild b/app-office/libreoffice-l10n/libreoffice-l10n-4.1.4.2.ebuild
index dbd4c5998257..85182e10a32e 100644
--- a/app-office/libreoffice-l10n/libreoffice-l10n-4.1.4.2.ebuild
+++ b/app-office/libreoffice-l10n/libreoffice-l10n-4.1.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.1.4.2.ebuild,v 1.1 2013/12/27 08:03:00 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.1.4.2.ebuild,v 1.2 2013/12/27 14:31:19 dilfridge Exp $
EAPI=4
@@ -17,12 +17,15 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="offlinehelp"
-LANGUAGES_HELP="am ast bg bn_IN bn bo bs ca_XV ca cs da de dz el en_GB en en_ZA
+#
+# when changing the language lists, please be careful to preserve the spaces (bug 491728)
+#
+LANGUAGES_HELP=" am ast bg bn_IN bn bo bs ca_XV ca cs da de dz el en_GB en en_ZA
eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl
-pt_BR pt ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW"
-LANGUAGES="${LANGUAGES_HELP} af ar as be br brx cy dgo fa ga gd kk kn kok ks ku
+pt_BR pt ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW "
+LANGUAGES="${LANGUAGES_HELP}af ar as be br brx cy dgo fa ga gd kk kn kok ks ku
lb lo lt lv mai ml mn mni mr my nr nso oc or pa_IN ro rw sa_IN sat sd sh sr
-ss st sw_TZ ta te th tn ts tt uz ve xh zu"
+ss st sw_TZ ta te th tn ts tt uz ve xh zu "
for lang in ${LANGUAGES_HELP}; do
helppack=""
@@ -65,7 +68,7 @@ src_unpack() {
rm -rf "${S}/${rpmdir}/"*dict*.rpm
rpm_unpack "./${rpmdir}/"*.rpm
fi
- if [[ "${LANGUAGES_HELP}" =~ "${lang}" ]] && use offlinehelp; then
+ if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
[[ ${lang} == en ]] && dir="en-US"
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_helppack_${dir}/RPMS/"
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""