]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Let the afterinstall target ignore failures from running chflags. This
authorScott Long <scottl@FreeBSD.org>
Thu, 4 Mar 2010 12:35:20 +0000 (12:35 +0000)
committerScott Long <scottl@FreeBSD.org>
Thu, 4 Mar 2010 12:35:20 +0000 (12:35 +0000)
allows it to work over NFS, and puts it back into conformance with other
'schg' utlitilties in the system.

Reviewed by: ed

chpass/Makefile

index 7f7ac510c6bcd245af39af0adf9a91e5f7c4894a..a5571d72ffba355bfa13e877ae49ccc36f7d5b61 100644 (file)
@@ -43,7 +43,7 @@ beforeinstall:
 
 .if !defined(NO_FSCHG)
 afterinstall:
-       chflags schg ${DESTDIR}${BINDIR}/chpass
+       -chflags schg ${DESTDIR}${BINDIR}/chpass
 .endif
 
 .include <bsd.prog.mk>