[patch] cygport-0.2.9 allow multiple postinstall/preremove scripts

Charles Wilson cygwin@cwilson.fastmail.fm
Mon Feb 5 22:01:00 GMT 2007


Forward port to latest release.

For further history and justifiation of this patch, see 
http://cygwin.com/ml/cygwin/2007-01/msg00112.html and follow the 
embedded links and threads.

--
Chuck

2007-02-05  Charles Wilson  <...>

	* bin/prep_gnu_info.sh: allow cygport client to suppress
	automatic install-info (useful if: subpackages each have own
	explicit postinstall scripts, and each subpackage "owns"
	certain info files.  To activate *suppression*, set
	SUPPRESS_AUTOMATIC_INSTALLINFO to non-empty.  Default behavior
	is unchanged from current.
	* bin/cygport.in (__prepetc): allow ${C}/${PN}.postinstall
	and ${C}/${PN}.sh as synonyms for ${C}/postinstall.sh (however,
	presence of more than one of these causes error message).
	Allow ${C}/${PN}.preremove as synonym for ${C}/preremove.sh
	(but presence of both causes error message).  Allow for
	${C}/${pkg_name[${n}]}.postinstall and/or
	${C}/${pkg_name[${n}]}.preremove [n > 1].

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygport-multiple-postinstall.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070205/5ed069c5/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list