mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined.
MFC after: 2 weeks
This commit is contained in:
parent
ba60525b3f
commit
a2455e276d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243617
@ -19,7 +19,9 @@ beforeinstall:
|
||||
chflags noschg ${DESTDIR}${BINDIR}/$i || true
|
||||
.endfor
|
||||
|
||||
.if !defined(NO_FSCHG)
|
||||
afterinstall:
|
||||
-chflags schg ${DESTDIR}${BINDIR}/passwd
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user