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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1635
@ -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