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