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
69e1e0e77b
commit
38b790c00c
@ -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