diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-05 19:14:20 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-05 19:14:20 +0000 |
commit | a5b4c2a618672b92468d8ae25f0a584aff034e0c (patch) | |
tree | ed36a23e44d28ed3a3257800fcb1dbea098abca0 /shells | |
parent | cfbf70b67ab002e4dac116f208f1ed53fda1bf9a (diff) | |
download | ports-a5b4c2a618672b92468d8ae25f0a584aff034e0c.tar.gz ports-a5b4c2a618672b92468d8ae25f0a584aff034e0c.zip |
Notes
Diffstat (limited to 'shells')
-rw-r--r-- | shells/fd/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shells/fd/Makefile b/shells/fd/Makefile index c93d10c07610..9e369fb6b930 100644 --- a/shells/fd/Makefile +++ b/shells/fd/Makefile @@ -38,10 +38,10 @@ post-patch: post-install: @${ECHO} "Updating /etc/shells" - @${CP} /etc/shells /etc/shells.bak - @(${GREP} -v ${PREFIX}/bin/fdsh /etc/shells.bak; \ - ${ECHO_CMD} ${PREFIX}/bin/fdsh) > /etc/shells - @${RM} /etc/shells.bak + @-${CP} /etc/shells /etc/shells.bak; \ + (${GREP} -v ${PREFIX}/bin/fdsh /etc/shells.bak; \ + ${ECHO_CMD} ${PREFIX}/bin/fdsh) > /etc/shells; \ + ${RM} -f /etc/shells.bak .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} @${MKDIR} ${PREFIX}/share/doc/ja/${PORTNAME} |