summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-11-08 14:59:22 +0000
committerache <ache@FreeBSD.org>1994-11-08 14:59:22 +0000
commit07e8a0418149f85bb4d5031e36f5b51a49c90d64 (patch)
tree0c6fbff4137eba871c4f109186bab7be87cf2d21 /usr.bin/chpass
parentf8f6e0f3d0288a0305a0aa8b4cb1a23b6acb3ae5 (diff)
downloadFreeBSD-src-07e8a0418149f85bb4d5031e36f5b51a49c90d64.zip
FreeBSD-src-07e8a0418149f85bb4d5031e36f5b51a49c90d64.tar.gz
Fix beforeinstall target:
use chflags /usr/bin/chpass ONLY if chpass present
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 315593a..31dc84f 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:
- chflags noschg /usr/bin/chpass
+ [ -r /usr/bin/chpass ] && chflags noschg /usr/bin/chpass
afterinstall:
chflags schg /usr/bin/chpass
OpenPOWER on IntegriCloud