diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2004-10-27 22:13:04 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2004-10-27 22:13:04 +0000 |
commit | 20d3a9278354f168e33f4def519c94bbe89c4c52 (patch) | |
tree | 28035a8cb2eeedf266562d54906441a29e7f7bad /shells | |
parent | 0362947b6b509f68ee1aafa9b43ee26e5c396726 (diff) | |
download | ports-20d3a9278354f168e33f4def519c94bbe89c4c52.tar.gz ports-20d3a9278354f168e33f4def519c94bbe89c4c52.zip |
Install the binary as 'bash2' also.
Notes
Notes:
svn path=/head/; revision=120351
Diffstat (limited to 'shells')
-rw-r--r-- | shells/bash2/Makefile | 1 | ||||
-rw-r--r-- | shells/bash2/pkg-plist | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile index d394a2187f2a..45c2a8666123 100644 --- a/shells/bash2/Makefile +++ b/shells/bash2/Makefile @@ -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 diff --git a/shells/bash2/pkg-plist b/shells/bash2/pkg-plist index 6dab7e763644..6c39552d68d5 100644 --- a/shells/bash2/pkg-plist +++ b/shells/bash2/pkg-plist @@ -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 |