diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1994-05-30 14:03:53 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1994-05-30 14:03:53 +0000 |
commit | fc4ff1175a8fe555e19572edc3793a1fd67bc86f (patch) | |
tree | 562aff747da922de7497e795395d54bef057689b /usr.bin | |
parent | 6c494f2fb27dce31512982fed967a7a7e8526e1a (diff) | |
download | FreeBSD-src-fc4ff1175a8fe555e19572edc3793a1fd67bc86f.zip FreeBSD-src-fc4ff1175a8fe555e19572edc3793a1fd67bc86f.tar.gz |
Add a beforeinstall rule to turn off the immutable flag on chpass so you
can install a new copy of it.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/chpass/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile index b68ad10..315593a 100644 --- a/usr.bin/chpass/Makefile +++ b/usr.bin/chpass/Makefile @@ -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 |