public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to install a custom permanent postinstall handler?
@ 2016-04-01 21:05 Andrey Repin
  2016-04-02  9:21 ` Achim Gratz
  0 siblings, 1 reply; 15+ messages in thread
From: Andrey Repin @ 2016-04-01 21:05 UTC (permalink / raw)
  To: All

Greetings, All!

Couple of my scripts rely on ASH/DASH functionality that is not present in
BASH. (Namely "local -".)
To amend that, I make a symlink /bin/sh = /bin/dash .
But every time bash update, it overwrite the link.
So… How would I go about creating a handler that would restore the parity?
Will making a script /etc/postinstall be enough, or some additional magic is
necessary?


-- 
With best regards,
Andrey Repin
Friday, April 1, 2016 23:48:54

Sorry for my terrible english...

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-04-04 15:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-01 21:05 How to install a custom permanent postinstall handler? Andrey Repin
2016-04-02  9:21 ` Achim Gratz
2016-04-02 14:18   ` Eric Blake
2016-04-02 14:56     ` Achim Gratz
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

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).