[ooo-build] Download
Petr Mladek
pmladek at suse.cz
Thu Sep 17 04:45:11 PDT 2009
On Wednesday 16 September 2009, Axel Freyn wrote:
> Hello,
>
> On Wed, Sep 09, 2009 at 11:27:24AM +0200, Petr Mladek wrote:
> > > Or is there a cuter way of getting the files you need?
> >
> > http://go-oo.mirrorbrain.org/stable/linux-i586 provides YUM meta data, so
> > you might be able to add this URL as extra installation source. Then you
> > might use an installer to update the packages.
> >
> > If anyone could write a clever script that would download and install the
> > right packages for a selected localization, we would be more than happy
> > to make it available on the site.
>
> Well, here is the script I'm using in order to download the go-oo
> packages. Maybe it's useful for someone?
I really like the script. I did few rather cosmetic changes, see the attached
file:
+ renamed to download-go-oo.py
+ added #!/usr/bin/python, so that it could by started as normal command
when you add executive permission
+ added Copyright and License comment; I think that the BSD license is a good
choice for such a script; Feel free to choose another license. You
might also put it into public domain. We just need a free license
before we make it available on the go-oo site. See
http://www.gnu.org/licenses/license-list.html#SoftwareLicenses
for other choices.
+ add '--' to the option names; it is more typical for linux tools
+ updated help message to get more typical structure
+ changed default language to "en_US"
+ fixed --localization option to actually work (the localization
variable was unused ;-)
Do you agree with these changes?
Could we make the attached script available at http://go-oo.org/download/?
--
Best Regards,
Petr Mladek
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: pmladek at suse.cz
Lihovarská 1060/12 tel: +420 284 028 952
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: download-go-oo.py
Type: application/x-python
Size: 5426 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/ooo-build/attachments/20090917/453de522/attachment.bin
More information about the ooo-build
mailing list