aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2010-05-04 11:34:13 +0000
committerEd Maste <emaste@FreeBSD.org>2010-05-04 11:34:13 +0000
commit11666ce50ae9eab40af280a181a4c8b0355feff7 (patch)
tree8a7a65e7291d605830b3e10fb93e5248b323e4d2 /usr.bin/chpass
parent2db9a1171cb6b8a6f009261d10354315c0ea2f13 (diff)
downloadsrc-11666ce50ae9eab40af280a181a4c8b0355feff7.tar.gz
src-11666ce50ae9eab40af280a181a4c8b0355feff7.zip
Notes
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index a5571d72ffba..566173e14d8d 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -38,7 +38,9 @@ MLINKS+= chpass.1 ypchpass.1 chpass.1 ypchfn.1 chpass.1 ypchsh.1
beforeinstall:
.for i in chpass chfn chsh ypchpass ypchfn ypchsh
+.if exists(${DESTDIR}${BINDIR}/$i)
-chflags noschg ${DESTDIR}${BINDIR}/$i
+.endif
.endfor
.if !defined(NO_FSCHG)