Re: [RFH] update-alternatives

2005-11-27 Thread Bernhard R. Link
* Joost van Baal <[EMAIL PROTECTED]> [051126 15:44]: > /usr/share/debhelper/autoscripts/{postinst,prerm}-wm include an > implementation for x-window-manager. Maybe studying that helps (as does > studying the update-alternatives(8) manpages, of course). Just in case someone reads

Re: [RFH] update-alternatives

2005-11-26 Thread Joost van Baal
Hi, Op za 26 nov 2005 om 03:15:38 +0100 schreef Bastian Venthur: > > I am the maintainer of crystalcursors[1] and I received a bugreport[2] where > the submitter asks me to register the cursors as x-cursor-theme via > update-alternatives. > > Unfortunatly I'm not a

[RFH] update-alternatives

2005-11-26 Thread Bastian Venthur
Hi Mentors, I am the maintainer of crystalcursors[1] and I received a bugreport[2] where the submitter asks me to register the cursors as x-cursor-theme via update-alternatives. Unfortunatly I'm not able to find some useful documentation which helps me to do so. Could somebody point me

Re: [HELP] update-alternatives

2005-03-03 Thread Arnaud Vandyck
>> >> (for loop) >> if [ -f /usr/lib/kaffe/bin/$file ] >>update-alternatives --remove $file /usr/lib/kaffe/bin/$file >> fi >> (end of the for loop) > > Just call --remove on all files you know might have been registered, > and ignore any error,

Re: [HELP] update-alternatives

2005-02-28 Thread Loïc Minier
Hi, On Sun, Feb 27, 2005, Arnaud Vandyck wrote: > I suppose I can add a condition in the for loop but I don't know *what* > I have to test. Can I do something like: > > (for loop) > if [ -f /usr/lib/kaffe/bin/$file ] >update-alternatives --remove $file /usr/l

[HELP] update-alternatives

2005-02-27 Thread Arnaud Vandyck
Hi, I got problems with update-alternatives, I'd like to have your help. kaffe used to provide 'appletviewer' application (this is an alternative). I'd like to be sure to remove the alternative only if it exists. I have a .prerm code like this: ,[ debian/kaffe.prerm ]

Re: update-alternatives

2000-09-14 Thread Julian Gilbey
On Wed, Sep 13, 2000 at 10:08:13PM +0200, peter karlsson wrote: > Hi! > > How do I get update-alternatives to keep information when upgrading a > package? > > Currently I have postinst add it and prerm remove it, but if I set the > alternative to point to something else t

Re: update-alternatives

2000-09-14 Thread Julian Gilbey
On Wed, Sep 13, 2000 at 10:08:13PM +0200, peter karlsson wrote: > Hi! > > How do I get update-alternatives to keep information when upgrading a > package? > > Currently I have postinst add it and prerm remove it, but if I set the > alternative to point to something else t

Bug#71621: No policy on calling update-alternatives (was Re: update-alternatives)

2000-09-13 Thread Colin Watson
Package: packaging-manual Version: 3.2.1.0 peter karlsson <[EMAIL PROTECTED]> wrote: >How do I get update-alternatives to keep information when upgrading a >package? > >Currently I have postinst add it and prerm remove it, but if I set the >alternative to point to something

Bug#71621: No policy on calling update-alternatives (was Re: update-alternatives)

2000-09-13 Thread Colin Watson
Package: packaging-manual Version: 3.2.1.0 peter karlsson <[EMAIL PROTECTED]> wrote: >How do I get update-alternatives to keep information when upgrading a >package? > >Currently I have postinst add it and prerm remove it, but if I set the >alternative to point to something

update-alternatives

2000-09-13 Thread peter karlsson
Hi! How do I get update-alternatives to keep information when upgrading a package? Currently I have postinst add it and prerm remove it, but if I set the alternative to point to something else than the default, this means that that information gets lost everytime I upgrade the package... (The

update-alternatives

2000-09-13 Thread peter karlsson
Hi! How do I get update-alternatives to keep information when upgrading a package? Currently I have postinst add it and prerm remove it, but if I set the alternative to point to something else than the default, this means that that information gets lost everytime I upgrade the package... (The

Re: update-alternatives.

2000-02-28 Thread Martin Bialasinski
* "Jordi" == Jordi <[EMAIL PROTECTED]> wrote: Jordi> Also, I see that vim, elvis and nvi provide an alternative for Jordi> "vi", (in vim's case, priority 20). I think it's not against Jordi> the policy if I provide an alternative for "pico"? This does not work. For alternatives, all affected pa

update-alternatives.

2000-02-27 Thread Jordi
Hello, Nano needs to provide an alternative for editor, and browsing the postinst files of other editors, I saw this on joe: update-alternatives --install /usr/bin/editor editor /usr/bin/joe 70 \ --slave /usr/man/man1/editor.1.gz editor.1.gz /usr/man/man1/joe.1.gz How do I decide my priority