aboutsummaryrefslogtreecommitdiffstats
path: root/shells/zsh
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-10-06 13:54:55 +0800
committerasami <asami@FreeBSD.org>1995-10-06 13:54:55 +0800
commit465752178aeb8565cb859f00df2afbc06a8b4f56 (patch)
tree256e9864c917970691729fda7a895e74c3afdcef /shells/zsh
parent6b971d8713a796c96622edcf51a3562326b998dd (diff)
downloadfreebsd-ports-gnome-465752178aeb8565cb859f00df2afbc06a8b4f56.tar.gz
freebsd-ports-gnome-465752178aeb8565cb859f00df2afbc06a8b4f56.tar.zst
freebsd-ports-gnome-465752178aeb8565cb859f00df2afbc06a8b4f56.zip
Edit /etc/shells. Closes PR ports/727.
Submitted by: Scott Blachowicz <scott@sabami.seaslug.org>
Diffstat (limited to 'shells/zsh')
-rw-r--r--shells/zsh/pkg-plist2
1 files changed, 2 insertions, 0 deletions
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