diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-10-24 00:41:41 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-10-24 00:41:41 +0000 |
commit | 0a7aa7ed266ea1032b0361dbc4b02b6688e1c997 (patch) | |
tree | 58a663a1de57c3430ca6dbcfe14911c670d80254 /eclass/texlive-module.eclass | |
parent | Marking courier-0.64.1 ppc for bug 319785 (diff) | |
download | historical-0a7aa7ed266ea1032b0361dbc4b02b6688e1c997.tar.gz historical-0a7aa7ed266ea1032b0361dbc4b02b6688e1c997.tar.bz2 historical-0a7aa7ed266ea1032b0361dbc4b02b6688e1c997.zip |
Add default values for left/righthyphenmin in language.dat.lua too
Diffstat (limited to 'eclass/texlive-module.eclass')
-rw-r--r-- | eclass/texlive-module.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index fcbb01ef3166..266907bc201f 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.53 2010/10/23 23:51:58 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.54 2010/10/24 00:41:41 aballier Exp $ # @ECLASS: texlive-module.eclass # @MAINTAINER: @@ -219,6 +219,8 @@ texlive-module_make_language_lua_lines() { local lefthyphenmin righthyphenmin synonyms name file file_patterns file_exceptions luaspecial local dest="${S}/language.${PN}.dat.lua" eval $@ + [ -z "$lefthyphenmin" ] && lefthyphenmin="2" + [ -z "$righthyphenmin" ] && righthyphenmin="3" einfo "Generating language.dat.lua entry for $@" printf "\t['%s'] = {\n" "$name" >> "$dest" printf "\t\tloader = '%s',\n" "$file" >> "$dest" |