diff options
author | obrien <obrien@FreeBSD.org> | 2004-10-27 22:13:04 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-10-27 22:13:04 +0000 |
commit | e70d403bba4b4692e85e19dfe7d0bfda804bda42 (patch) | |
tree | 48e9640436bbf7ab717e77c0833e90556d457073 | |
parent | ef8e2e3934292aecf01fcf35ef6a216f138922cb (diff) | |
download | FreeBSD-ports-e70d403bba4b4692e85e19dfe7d0bfda804bda42.zip FreeBSD-ports-e70d403bba4b4692e85e19dfe7d0bfda804bda42.tar.gz |
Install the binary as 'bash2' also.
-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 d394a21..45c2a86 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 6dab7e7..6c39552 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 |