From 34700b93ee12d30f10194a378e6b917bcae13469 Mon Sep 17 00:00:00 2001 From: bapt Date: Wed, 11 Jun 2014 17:42:36 +0000 Subject: 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 --- shells/mksh/pkg-plist | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'shells/mksh') diff --git a/shells/mksh/pkg-plist b/shells/mksh/pkg-plist index 378073b2e583..989a4a4b9937 100644 --- a/shells/mksh/pkg-plist +++ b/shells/mksh/pkg-plist @@ -1,7 +1,4 @@ man/man1/mksh.1.gz -@comment Please mind the order. bin/mksh needs to come right before the exec/unexec magic. -bin/mksh -@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak -@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak +@shell bin/mksh %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot.mkshrc %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -- cgit