This is the mail archive of the
mailing list for the Cygwin project.
Re: How to install a custom permanent postinstall handler?
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 2 Apr 2016 23:08:58 -0500
- 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>
On 2016-04-02 04:21, Achim Gratz wrote:
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.
I am not in favour of /bin/sh being alternatives-able. The *proper*
course of action is to use the shebang for the script interpreter you
require, i.e. /bin/dash.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple