aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/chpass/Makefile4
-rw-r--r--usr.bin/passwd/Makefile6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 3abed829d3ac7..c17a4ce7ceb5f 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -60,10 +60,10 @@ yppasswd_private_clnt.c: ${RPCSRC_PRIV}
beforeinstall:
.for i in chpass chfn chsh ypchpass ypchfn ypchsh
[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
- chflags noschg ${DESTDIR}${BINDIR}/$i
+ chflags noschg ${DESTDIR}${BINDIR}/$i || true
.endfor
afterinstall:
- chflags schg ${DESTDIR}${BINDIR}/chpass
+ -chflags schg ${DESTDIR}${BINDIR}/chpass
.include <bsd.prog.mk>
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
index cfa98db53e4a8..f01fe6ddef299 100644
--- a/usr.bin/passwd/Makefile
+++ b/usr.bin/passwd/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
-# $Id: Makefile,v 1.29 1998/08/06 21:37:51 markm Exp $
+# $Id: Makefile,v 1.30 1998/09/19 22:42:04 obrien Exp $
PROG= passwd
SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c pw_yp.c \
@@ -70,10 +70,10 @@ DISTRIBUTION= krb
beforeinstall:
.for i in passwd yppasswd
[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
- chflags noschg ${DESTDIR}${BINDIR}/$i
+ chflags noschg ${DESTDIR}${BINDIR}/$i || true
.endfor
afterinstall:
- chflags schg ${DESTDIR}${BINDIR}/passwd
+ -chflags schg ${DESTDIR}${BINDIR}/passwd
.include <bsd.prog.mk>