aboutsummaryrefslogtreecommitdiff
path: root/shells/esh
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/esh
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/esh')
-rw-r--r--shells/esh/pkg-plist4
1 files changed, 1 insertions, 3 deletions
diff --git a/shells/esh/pkg-plist b/shells/esh/pkg-plist
index eb4592f41c25..c1def7c71c37 100644
--- a/shells/esh/pkg-plist
+++ b/shells/esh/pkg-plist
@@ -1,3 +1 @@
-bin/esh
-@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
+@shell bin/esh