aboutsummaryrefslogtreecommitdiff
path: root/shells/bash3
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/bash3
parente129ff223632ca1636d89d42758355bb6601195f (diff)
downloadports-a0959fff333b330c3fb563568d86d43e6b46ecc7.tar.gz
ports-a0959fff333b330c3fb563568d86d43e6b46ecc7.zip
Install/uninstall bash into /etc/shells
Submitted by: mark@grondar.za
Notes
Notes: svn path=/head/; revision=944
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 538cc642cbbb..eba921d1aacb 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