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]

How to install a custom permanent postinstall handler?


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

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