summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-10-06 05:54:55 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-10-06 05:54:55 +0000
commit5aaef8061ce8ac8960b8276dc69fdc614fcd4896 (patch)
treea27642d8f1259fe8c41de10129d4b1b04471a808
parentChange Alain's addresses per his request. (diff)
Edit /etc/shells. Closes PR ports/727.
Submitted by: Scott Blachowicz <scott@sabami.seaslug.org>
Notes
Notes: svn path=/head/; revision=2280
-rw-r--r--shells/zsh-devel/pkg-plist2
-rw-r--r--shells/zsh/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/shells/zsh-devel/pkg-plist b/shells/zsh-devel/pkg-plist
index 7790ff721953..a75c443eb755 100644
--- a/shells/zsh-devel/pkg-plist
+++ b/shells/zsh-devel/pkg-plist
@@ -1,4 +1,6 @@
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
bin/zsh-2.6-beta10
info/zsh.info
info/zsh.info-1
diff --git a/shells/zsh/pkg-plist b/shells/zsh/pkg-plist
index 7790ff721953..a75c443eb755 100644
--- a/shells/zsh/pkg-plist
+++ b/shells/zsh/pkg-plist
@@ -1,4 +1,6 @@
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
bin/zsh-2.6-beta10
info/zsh.info
info/zsh.info-1