aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shells/ksh93/Makefile1
-rw-r--r--shells/ksh93/pkg-plist4
2 files changed, 3 insertions, 2 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile
index fcdbf8b17f49..17eb85256989 100644
--- a/shells/ksh93/Makefile
+++ b/shells/ksh93/Makefile
@@ -6,6 +6,7 @@
PORTNAME= ksh93
PORTVERSION= ${VERSION:S/-//g}
+PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= http://www.research.att.com/~gsf/download/tgz/
DISTNAME= ${PORTNAME}-${VERSION}
diff --git a/shells/ksh93/pkg-plist b/shells/ksh93/pkg-plist
index a9615ede13ad..bae0b175f894 100644
--- a/shells/ksh93/pkg-plist
+++ b/shells/ksh93/pkg-plist
@@ -1,7 +1,7 @@
@comment $FreeBSD$
bin/ksh93
+@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
share/examples/ksh93/dirs
share/examples/ksh93/popd
@dirrm share/examples/ksh93
-@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