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:
parent
79bd0a6516
commit
432f44f5e4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user