diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-02-12 12:27:01 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-02-12 12:27:01 +0000 |
commit | a0959fff333b330c3fb563568d86d43e6b46ecc7 (patch) | |
tree | 30cb6e78816566be747dff4214c138fe7882ccfe /shells/bash3 | |
parent | e129ff223632ca1636d89d42758355bb6601195f (diff) | |
download | ports-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-plist | 2 |
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 |