summaryrefslogtreecommitdiffstats
path: root/shells/bash3
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-02-12 12:27:01 +0000
committerache <ache@FreeBSD.org>1995-02-12 12:27:01 +0000
commitb0902463d223cd971bd5a1c56302ad06ca79a2a7 (patch)
treee39e3d1fe93d721aa2d9e31b942a56d7b091cef9 /shells/bash3
parentceccb9403de38ea189e4f8fa4d7b48d56aa04e5d (diff)
downloadFreeBSD-ports-b0902463d223cd971bd5a1c56302ad06ca79a2a7.zip
FreeBSD-ports-b0902463d223cd971bd5a1c56302ad06ca79a2a7.tar.gz
Install/uninstall bash into /etc/shells
Submitted by: mark@grondar.za
Diffstat (limited to 'shells/bash3')
-rw-r--r--shells/bash3/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/shells/bash3/pkg-plist b/shells/bash3/pkg-plist
index 538cc64..eba921d 100644
--- a/shells/bash3/pkg-plist
+++ b/shells/bash3/pkg-plist
@@ -1,5 +1,7 @@
@cwd /usr/local
bin/bash
+@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
man/man1/bash.1
man/man1/bash_builtins.1
OpenPOWER on IntegriCloud