summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chpass/Makefile2
1 files changed, 1 insertions, 1 deletions
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