diff options
author | obrien <obrien@FreeBSD.org> | 2004-10-28 06:13:04 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-10-28 06:13:04 +0800 |
commit | e70d403bba4b4692e85e19dfe7d0bfda804bda42 (patch) | |
tree | 48e9640436bbf7ab717e77c0833e90556d457073 /shells | |
parent | ef8e2e3934292aecf01fcf35ef6a216f138922cb (diff) | |
download | freebsd-ports-gnome-e70d403bba4b4692e85e19dfe7d0bfda804bda42.tar.gz freebsd-ports-gnome-e70d403bba4b4692e85e19dfe7d0bfda804bda42.tar.zst freebsd-ports-gnome-e70d403bba4b4692e85e19dfe7d0bfda804bda42.zip |
Install the binary as 'bash2' also.
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 |