aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-04-16 06:01:54 +0800
committernaddy <naddy@FreeBSD.org>2003-04-16 06:01:54 +0800
commit1befcd3f27ddb7e0a78f149f3d765070bfb48036 (patch)
tree8a4bb38f239e9448d6715e7a6383645e8f674826 /shells
parent61656eb5009445a0ee6b8358b1ea7781125fb032 (diff)
downloadfreebsd-ports-gnome-1befcd3f27ddb7e0a78f149f3d765070bfb48036.tar.gz
freebsd-ports-gnome-1befcd3f27ddb7e0a78f149f3d765070bfb48036.tar.zst
freebsd-ports-gnome-1befcd3f27ddb7e0a78f149f3d765070bfb48036.zip
Oops, put the correct file into /etc/shells.
Submitted by: jhb
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