Mailinglist Archive: opensuse-factory (648 mails)
| < Previous | Next > |
Re: [opensuse-factory] Providing alternative packages for bzip2 and gzip
- From: Lars Müller <lmuelle@xxxxxxx>
- Date: Fri, 12 Nov 2010 14:34:59 +0100
- Message-id: <20101112133459.GA16490@xxxxxxxxxxxxxxxx>
On Thu, Nov 11, 2010 at 01:49:18PM -0300, Cristian Rodríguez wrote:
Keep It Simple Stupid and package the new binaries as /usr/bin/bzip2 and
/usr/bin/gzip then all scripts and tools will work even without
update-alternatives.
And with zypper it's even possible to switch between the old and the new
packages.
Lars
--
Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
El 11/11/10 13:46, Michael Schroeder escribió:
On Thu, Nov 11, 2010 at 12:28:11PM -0300, Cristian Rodríguez wrote:
I have been playing around with newer, multithreaded implementations of
bzip2 and gzip and is my impression that we need to provide
"update-alternatives" to them, so users are able to select their
favorite tool.
Is "update-alternatives" really neccessary? Wouldn't different
packages be sufficient?
I believe it is, as there are tons of scripts/tools that refer bzip2 or
gzip with full paths. :-|
Keep It Simple Stupid and package the new binaries as /usr/bin/bzip2 and
/usr/bin/gzip then all scripts and tools will work even without
update-alternatives.
And with zypper it's even possible to switch between the old and the new
packages.
Lars
--
Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
| < Previous | Next > |