mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Install the binary as 'bash2' also.
This commit is contained in:
parent
0362947b6b
commit
20d3a92783
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120351
@ -51,6 +51,7 @@ post-patch:
|
||||
${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/doc/bash.1
|
||||
|
||||
post-install:
|
||||
${LN} -f ${PREFIX}/bin/bash ${PREFIX}/bin/bash2
|
||||
${CP} /etc/shells /etc/shells.bak
|
||||
(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; ${ECHO_CMD} ${PREFIX}/bin/bash) >/etc/shells
|
||||
${RM} /etc/shells.bak
|
||||
|
@ -1,5 +1,6 @@
|
||||
@comment $FreeBSD$
|
||||
bin/bash
|
||||
bin/bash2
|
||||
@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells
|
||||
@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells
|
||||
bin/bashbug
|
||||
|
Loading…
Reference in New Issue
Block a user