summaryrefslogtreecommitdiffstats
path: root/chpass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chpass/Makefile')
-rw-r--r--chpass/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/chpass/Makefile b/chpass/Makefile
index 45d2767..cef2d57 100644
--- a/chpass/Makefile
+++ b/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