How to install a custom permanent postinstall handler?
Sat Apr 2 09:21:00 GMT 2016
Andrey Repin writes:
> 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.
I think the correct course of action would be to put /bin/sh under
control of the alternatives system.
> 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
There is. You will want to run this script in postinstall stratum z as
a perpetual one, so the name of the script needs to start with "zp_"
(preferrably with a .dash suffix, too).
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf microQ V2.22R2:
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin