From d6238d79150a3db1865545c734aee172e4f0f692 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 14 Nov 1994 07:13:12 +0000 Subject: [PATCH] Fix logic in previous commit. --- usr.bin/chpass/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile index 31dc84f7a91d..d5090da9a2dd 100644 --- a/usr.bin/chpass/Makefile +++ b/usr.bin/chpass/Makefile @@ -10,7 +10,7 @@ LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh MLINKS= chpass.1 chfn.1 chpass.1 chsh.1 beforeinstall: - [ -r /usr/bin/chpass ] && chflags noschg /usr/bin/chpass + [ ! -e /usr/bin/chpass ] || chflags noschg /usr/bin/chpass afterinstall: chflags schg /usr/bin/chpass