summaryrefslogtreecommitdiffstats
path: root/chpass/Makefile
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1994-11-14 07:13:12 +0000
committerBruce Evans <bde@FreeBSD.org>1994-11-14 07:13:12 +0000
commit75947cd8f494f5b24293848ce4b02319ee0a4daf (patch)
tree25038616efc8b1ccdb6f3e5cc21dd78e847e9d69 /chpass/Makefile
parentad537eda385b2019f3fbc8ed1fabae477476bf29 (diff)
downloadpw-darwin-75947cd8f494f5b24293848ce4b02319ee0a4daf.tar.gz
pw-darwin-75947cd8f494f5b24293848ce4b02319ee0a4daf.tar.zst
pw-darwin-75947cd8f494f5b24293848ce4b02319ee0a4daf.zip
Fix logic in previous commit.
Diffstat (limited to 'chpass/Makefile')
-rw-r--r--chpass/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/chpass/Makefile b/chpass/Makefile
index 31dc84f..d5090da 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:
- [ -r /usr/bin/chpass ] && chflags noschg /usr/bin/chpass
+ [ ! -e /usr/bin/chpass ] || chflags noschg /usr/bin/chpass
afterinstall:
chflags schg /usr/bin/chpass