This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to install a custom permanent postinstall handler?

Eric Blake writes:
> Since I maintain both dash and bash, I'm game for setting up /bin/sh as
> an alternative. However, I've never targeted the alternatives system
> before as a package maintainer; any advice on docs or an example that I
> could copy from?  I would probably make the defaults give bash higher
> priority over dash, but with the alternatives in place, it would be easy
> for a local user to swap the priorities on their system; I'd probably
> also want to provide a convenience script to make swapping default sh an
> easier task than users having to actually call directly into the
> alternatives system.

You could look at Emacs.  It has all the components you ask about for
making either emacs-nox, emacs-w32 or emacs-x11 the default (only the
latter two have helper scripts).

man alternatives

The alternatives package is currently orphaned and should probably get
an update to use hardlinks or copies for DLL, then it would become
usable for switching between BLAS/LAPACK implementations.  I have that
on my list of things to update for some time now, but if somebody beats
me to it I would not complain (it's in the utils directory for Debian
dpkg if you're wondering).

+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]