From ad537eda385b2019f3fbc8ed1fabae477476bf29 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 8 Nov 1994 14:59:22 +0000 Subject: Fix beforeinstall target: use chflags /usr/bin/chpass ONLY if chpass present --- chpass/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chpass/Makefile') diff --git a/chpass/Makefile b/chpass/Makefile index 315593a..31dc84f 100644 --- a/chpass/Makefile +++ b/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: - chflags noschg /usr/bin/chpass + [ -r /usr/bin/chpass ] && chflags noschg /usr/bin/chpass afterinstall: chflags schg /usr/bin/chpass -- cgit v1.2.3-56-ge451