This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How to install a custom permanent postinstall handler?
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Sat, 02 Apr 2016 16:56:14 +0200
- Subject: Re: How to install a custom permanent postinstall handler?
- Authentication-results: sourceware.org; auth=none
- References: <838469265 dot 20160401235308 at yandex dot ru> <87a8lcicxg dot fsf at Rainer dot invalid> <56FFD48C dot 4000802 at redhat dot com>
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).
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple