diff options
author | ache <ache@FreeBSD.org> | 1995-02-12 12:27:01 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-02-12 12:27:01 +0000 |
commit | b0902463d223cd971bd5a1c56302ad06ca79a2a7 (patch) | |
tree | e39e3d1fe93d721aa2d9e31b942a56d7b091cef9 /shells | |
parent | ceccb9403de38ea189e4f8fa4d7b48d56aa04e5d (diff) | |
download | FreeBSD-ports-b0902463d223cd971bd5a1c56302ad06ca79a2a7.zip FreeBSD-ports-b0902463d223cd971bd5a1c56302ad06ca79a2a7.tar.gz |
Install/uninstall bash into /etc/shells
Submitted by: mark@grondar.za
Diffstat (limited to 'shells')
-rw-r--r-- | shells/bash/pkg-plist | 2 | ||||
-rw-r--r-- | shells/bash1/pkg-plist | 2 | ||||
-rw-r--r-- | shells/bash2/pkg-plist | 2 | ||||
-rw-r--r-- | shells/bash3/pkg-plist | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/shells/bash/pkg-plist b/shells/bash/pkg-plist index 538cc64..eba921d 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 diff --git a/shells/bash1/pkg-plist b/shells/bash1/pkg-plist index 538cc64..eba921d 100644 --- a/shells/bash1/pkg-plist +++ b/shells/bash1/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 diff --git a/shells/bash2/pkg-plist b/shells/bash2/pkg-plist index 538cc64..eba921d 100644 --- a/shells/bash2/pkg-plist +++ b/shells/bash2/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 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 |