aboutsummaryrefslogtreecommitdiff
path: root/shells/bash2
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-10-27 22:13:04 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-10-27 22:13:04 +0000
commit20d3a9278354f168e33f4def519c94bbe89c4c52 (patch)
tree28035a8cb2eeedf266562d54906441a29e7f7bad /shells/bash2
parent0362947b6b509f68ee1aafa9b43ee26e5c396726 (diff)
downloadports-20d3a9278354f168e33f4def519c94bbe89c4c52.tar.gz
ports-20d3a9278354f168e33f4def519c94bbe89c4c52.zip
Notes
Diffstat (limited to 'shells/bash2')
-rw-r--r--shells/bash2/Makefile1
-rw-r--r--shells/bash2/pkg-plist1
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