aboutsummaryrefslogtreecommitdiff
path: root/shells/fish
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-06-11 17:42:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-06-11 17:42:36 +0000
commit2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2 (patch)
tree8b56f25125b5be6dd05af340e094bb197df7f3bc /shells/fish
parentde32df923135bbd415900176644d4602881f1f76 (diff)
downloadports-2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2.tar.gz
ports-2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2.zip
Add an @shell keyword to handle adding and remove a shell path in /etc/shell
Bump port revision of all ports that were doing it wrong prior to the keyword CR: D208 Reviewed by: antoine With hat: portmgr
Notes
Notes: svn path=/head/; revision=357511
Diffstat (limited to 'shells/fish')
-rw-r--r--shells/fish/pkg-plist4
1 files changed, 1 insertions, 3 deletions
diff --git a/shells/fish/pkg-plist b/shells/fish/pkg-plist
index 80412b798b54..fa1da5283b88 100644
--- a/shells/fish/pkg-plist
+++ b/shells/fish/pkg-plist
@@ -1,4 +1,4 @@
-bin/fish
+@shell bin/fish
bin/fish_indent
bin/fish_pager
bin/fishd
@@ -572,5 +572,3 @@ man/man1/mimedb.1.gz
@dirrm %%DATADIR%%/completions
@dirrm %%DATADIR%%
@dirrm %%ETCDIR%%
-@exec cp /etc/shells /etc/shells.bak; (grep -v %D/bin/fish /etc/shells.bak; echo %D/bin/fish) > /etc/shells; rm -f /etc/shells.bak
-@unexec cp /etc/shells /etc/shells.bak; (grep -v %D/bin/fish /etc/shells.bak) > /etc/shells; rm -f /etc/shells.bak