Add a beforeinstall rule to turn off the immutable flag on chpass so you

can install a new copy of it.
This commit is contained in:
Rodney W. Grimes 1994-05-30 14:03:53 +00:00
parent 79bd0a6516
commit 432f44f5e4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1635

View File

@ -9,6 +9,9 @@ CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
beforeinstall:
chflags noschg /usr/bin/chpass
afterinstall:
chflags schg /usr/bin/chpass