[ooo-build-commit] .: download/download-go-oo.py
Petr Mladek
pmladek at kemper.freedesktop.org
Fri Feb 12 05:27:19 PST 2010
download/download-go-oo.py | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
New commits:
commit eabb746080cdf9adc198d0f4a14bdbc394ff4eaa
Author: Petr Mladek <pmladek at suse.cz>
Date: Fri Feb 12 14:25:14 2010 +0100
More download-go-oo.py fixes by Axel Freyn <axel-freyn at gmx dot de>
* download/download-go-oo.py: list also gu_IN; offer linux-x86_64;
treate correctly the dialect "None"
diff --git a/download/download-go-oo.py b/download/download-go-oo.py
index 7ec719c..1f35810 100755
--- a/download/download-go-oo.py
+++ b/download/download-go-oo.py
@@ -47,7 +47,8 @@ localizations = ["af", "ar", "as", "be", "bg", "bn", "bo", "br", "brx", "bs", "b
"xh", "zh", "zu"]
# All dialects
sublocalizations = { "bn": [None, "BD", "IN"], "en": ["GB", "US", "ZA"],
- "pt": [None, "BR"], "sw": [None, "TZ"], "zh": ["CN", "TW"] }
+ "pt": [None, "BR"], "sw": [None, "TZ"], "zh": ["CN", "TW"],
+ "gu" : [None, "IN"] }
# analyze parameters
for arg in sys.argv[1:]:
if arg == "--help" or arg == "help":
@@ -67,7 +68,10 @@ for arg in sys.argv[1:]:
for l in localizations[:-1]:
if sublocalizations.has_key(l):
for s in sublocalizations[l]:
- print "%s_%s,"%(l,s),
+ if s:
+ print "%s_%s,"%(l,s),
+ else:
+ print "%s,"%l,
else:
print "%s,"%l,
print localizations[-1],"\n"
@@ -76,7 +80,7 @@ for arg in sys.argv[1:]:
print "freedesktop, mandriva, redhat, suse\n"
print "Supported systems:"
- print "linux-i586, linux-x86_64\n"
+ print "linux-i586, linux-x86, linux-x86_64\n"
sys.exit(0)
param, value = arg.split("=")
More information about the ooo-build-commit
mailing list