summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-04-15 22:01:54 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-04-15 22:01:54 +0000
commitdb69286f17e87066915cb569ee50240148054222 (patch)
treed05bcb69326ecb70cf6314c33c21bd0cfa54e876 /shells
parentFix a long-standing bug, and enable NLS support. Also, convert to new (diff)
Oops, put the correct file into /etc/shells.
Submitted by: jhb
Notes
Notes: svn path=/head/; revision=79036
Diffstat (limited to 'shells')
-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