Ignore error in updating /etc/shells so that a normal user can build
and install this port.
This commit is contained in:
parent
cfbf70b67a
commit
a5b4c2a618
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72595
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user