Re: RFS: cdrbq -- graphical cd burning frontend
- To: Mario Iseli <firstname.lastname@example.org>, email@example.com
- Subject: Re: RFS: cdrbq -- graphical cd burning frontend
- From: Justin Pryzby <firstname.lastname@example.org>
- Date: Sat, 3 Dec 2005 11:40:20 -0500
- Message-id: <20051203164020.GA6373@andromeda>
- In-reply-to: <email@example.com>
- References: <firstname.lastname@example.org> <20051128032357.GB26054@andromeda> <email@example.com>
On Sat, Dec 03, 2005 at 05:25:29PM +0100, Mario Iseli wrote:
> On Sun, 2005-11-27 at 22:23 -0500, Justin Pryzby wrote:
> > Are there reasons not to maintain cdrtoaster instead (even if using
> > the new package "cdrbq" under the old name)?
> Ehm yes, the reason is simple: cdrbq is newer and has more features,
> cdrtoaster was COMPLETELY overworked. cdrtoaster has not so many
> functions like cdrtools
> > At least, I would suggest to Provide: cdrtoaster, and provide a
> > /usr/bin/ symlink somehow. I think Provides will cause users to
> > transparently upgrade to cdrbq if cdrtoaster is eventually removed.
> Yes, here we got the same oppinion. I did it.
Okay, great. One thing:
+ ln -s /usr/bin/cdrbq /usr/bin/cdrtoaster
This line is not idempotent; it will fail the second time around. My
first though was to propose:
ln -sf cdrbq /usr/bin/cdrtoaster
But it will overwrite a cdrtoaster binary! This is more correct:
[ -e /usr/bin/cdrtoaster ] || ln -s cdrbq /usr/bin/cdrtoaster
This will only make a symlink if cdrtoaster isn't installed. But is
there a way to make the symlink if cdrtoaster is installed, and then
gets removed?? This is probably a job for the alternatives system.