aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1997-02-26 05:31:52 +0000
committerMike Pritchard <mpp@FreeBSD.org>1997-02-26 05:31:52 +0000
commitbac06c08b77e6e896c5a463a14a24aa4acfd5310 (patch)
treecdf3ab7ea1cad5451fa231d867718a891676b4f5 /usr.bin/chpass
parent626808a8f29c9c0f0b7b8e1df4450e5fc6410129 (diff)
Notes
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 45d2767378982..cef2d5795bbee 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -52,8 +52,10 @@ yppasswd_private_xdr.c: ${RPCSRC_PRIV} yppasswd_private.h
${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PRIV}
beforeinstall:
- [ ! -e ${DESTDIR}${BINDIR}/chpass ] || \
- chflags noschg ${DESTDIR}${BINDIR}/chpass
+.for i in chpass chfn chsh ypchpass ypchfn ypchsh
+ [ ! -e ${DESTDIR}${BINDIR}/$i ] || \
+ chflags noschg ${DESTDIR}${BINDIR}/$i
+.endfor
afterinstall:
chflags schg ${DESTDIR}${BINDIR}/chpass