Subject: CVS commit: pkgsrc/mk/install
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 07/27/2005 16:18:54
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Jul 27 16:18:54 UTC 2005

Modified Files:
	pkgsrc/mk/install: deinstall dirs files install usergroup

Log Message:
Rewrite scripts to be more resilient to shells that exit immediately
if an untested command fails (see sh(1), "-e errexit").  Do this by
changing lines that look like:

	test expression && command
to
	test ! expression || command

so that the statement list always returns 0.  Also, back out revision
1.38 of pkgsrc/mk/install/install and modify the if-test to branch
correctly if +USERGROUP doesn't exist.


To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 pkgsrc/mk/install/deinstall
cvs rdiff -r1.5 -r1.6 pkgsrc/mk/install/dirs pkgsrc/mk/install/files
cvs rdiff -r1.38 -r1.39 pkgsrc/mk/install/install
cvs rdiff -r1.8 -r1.9 pkgsrc/mk/install/usergroup

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.