From 1c5eb9bde190e6e368ecb904a8a63dbe94084dae Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Mon, 30 May 1994 14:03:53 +0000 Subject: Add a beforeinstall rule to turn off the immutable flag on chpass so you can install a new copy of it. --- chpass/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chpass/Makefile') 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 -- cgit v1.2.3-56-ge451