From 720b73452322a1d423010d8dacd8c349e84c529c Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 6 Aug 2001 20:46:58 +0000 Subject: Make sure we don't ignore ${LOCALBASE}/bin/tcsh when creating the new /etc/shells entry with grep -v /bin/tcsh - be sure to match the whole line. --- shells/standalone-tcsh/pkg/PLIST | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shells') diff --git a/shells/standalone-tcsh/pkg/PLIST b/shells/standalone-tcsh/pkg/PLIST index 6f82e2da016..476b98fb69a 100644 --- a/shells/standalone-tcsh/pkg/PLIST +++ b/shells/standalone-tcsh/pkg/PLIST @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/27 19:52:45 agc Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/08/06 20:46:58 agc Exp $ bin/tcsh -@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells -@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells +@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v '^%D%F$' /etc/shells.bak; echo %D%F) >/etc/shells +@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v '^%D%F$' /etc/shells.bak) >/etc/shells usr/share/man/man1/tcsh.1 -- cgit v1.2.3