From 2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin 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/osh/Makefile | 1 + shells/osh/pkg-plist | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'shells/osh') diff --git a/shells/osh/Makefile b/shells/osh/Makefile index 7247df730503..9fccd3e163c7 100644 --- a/shells/osh/Makefile +++ b/shells/osh/Makefile @@ -3,6 +3,7 @@ PORTNAME= osh DISTVERSION= 20140410 +PORTREVISION= 1 CATEGORIES= shells MASTER_SITES= http://v6shell.org/src/ diff --git a/shells/osh/pkg-plist b/shells/osh/pkg-plist index 4db1b64e8f89..504dde8295e1 100644 --- a/shells/osh/pkg-plist +++ b/shells/osh/pkg-plist @@ -1,7 +1,7 @@ bin/fd2 bin/goto bin/if -bin/osh +@shell bin/osh bin/sh6 bin/glob6 man/man1/fd2.1.gz @@ -10,5 +10,3 @@ man/man1/goto.1.gz man/man1/if.1.gz man/man1/osh.1.gz man/man1/sh6.1.gz -@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 -- cgit v1.2.3