summaryrefslogtreecommitdiff
path: root/shells/bash
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-02-12 12:27:01 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-02-12 12:27:01 +0000
commita0959fff333b330c3fb563568d86d43e6b46ecc7 (patch)
tree30cb6e78816566be747dff4214c138fe7882ccfe /shells/bash
parentAdd zircon to list of targets. (diff)
Install/uninstall bash into /etc/shells
Submitted by: mark@grondar.za
Notes
Notes: svn path=/head/; revision=944
Diffstat (limited to 'shells/bash')
-rw-r--r--shells/bash/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/shells/bash/pkg-plist b/shells/bash/pkg-plist
index 538cc642cbbb..eba921d1aacb 100644
--- a/shells/bash/pkg-plist
+++ b/shells/bash/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