Author: scottl
Date: Thu Mar  4 12:35:20 2010
New Revision: 204707
URL: http://svn.freebsd.org/changeset/base/204707

Log:
  Let the afterinstall target ignore failures from running chflags.  This
  allows it to work over NFS, and puts it back into conformance with other
  'schg' utlitilties in the system.
  
  Reviewed by:  ed

Modified:
  head/usr.bin/chpass/Makefile

Modified: head/usr.bin/chpass/Makefile
==============================================================================
--- head/usr.bin/chpass/Makefile        Thu Mar  4 12:18:24 2010        
(r204706)
+++ head/usr.bin/chpass/Makefile        Thu Mar  4 12:35:20 2010        
(r204707)
@@ -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>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to