public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: How to install a custom permanent postinstall handler?
Date: Sat, 02 Apr 2016 14:56:00 -0000	[thread overview]
Message-ID: <871t6ohxf5.fsf@Rainer.invalid> (raw)
In-Reply-To: <56FFD48C.4000802@redhat.com> (Eric Blake's message of "Sat, 2	Apr 2016 08:17:48 -0600")

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

  reply	other threads:[~2016-04-02 14:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01 21:05 Andrey Repin
2016-04-02  9:21 ` Achim Gratz
2016-04-02 14:18   ` Eric Blake
2016-04-02 14:56     ` Achim Gratz [this message]
2016-04-03  4:09   ` Yaakov Selkowitz
2016-04-03  6:24     ` Achim Gratz
2016-04-03 11:47       ` Dirk Fassbender
2016-04-03 12:02         ` Achim Gratz
2016-04-03 18:06       ` Yaakov Selkowitz
2016-04-03 23:20         ` Andrey Repin
2016-04-04  6:09           ` Yaakov Selkowitz
2016-04-04 11:20             ` Andrey Repin
2016-04-04 14:42             ` Eric Blake
2016-04-04 15:37               ` Helmut Karlowski
2016-04-04 15:53           ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871t6ohxf5.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).