diff options
Diffstat (limited to 'usr.bin/chpass/Makefile')
-rw-r--r-- | usr.bin/chpass/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile index 45d2767..cef2d57 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 |