diff options
author | ache <ache@FreeBSD.org> | 1995-02-16 06:19:32 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-02-16 06:19:32 +0800 |
commit | 444d5add56240a33184557ebafac748436e7d2b2 (patch) | |
tree | 846f72b61d414ccdb8c5e14a0ee0a6e198ebe3d7 | |
parent | 9510ece258f285c7f7f311b8aeadac13f2db7433 (diff) | |
download | freebsd-ports-gnome-444d5add56240a33184557ebafac748436e7d2b2.tar.gz freebsd-ports-gnome-444d5add56240a33184557ebafac748436e7d2b2.tar.zst freebsd-ports-gnome-444d5add56240a33184557ebafac748436e7d2b2.zip |
Automatic install/uninstall /etc/shells entry
Submitted by: mark@grondar.za
-rw-r--r-- | shells/zsh-devel/pkg-plist | 2 | ||||
-rw-r--r-- | shells/zsh/pkg-plist | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/shells/zsh-devel/pkg-plist b/shells/zsh-devel/pkg-plist index 20a51d04fd06..fa66d85094bb 100644 --- a/shells/zsh-devel/pkg-plist +++ b/shells/zsh-devel/pkg-plist @@ -1,5 +1,7 @@ @cwd /usr/local bin/zsh +@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 man/man1/zsh.1 info/zsh.info info/zsh.info-1 diff --git a/shells/zsh/pkg-plist b/shells/zsh/pkg-plist index 20a51d04fd06..fa66d85094bb 100644 --- a/shells/zsh/pkg-plist +++ b/shells/zsh/pkg-plist @@ -1,5 +1,7 @@ @cwd /usr/local bin/zsh +@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 man/man1/zsh.1 info/zsh.info info/zsh.info-1 |