summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-08-06 20:46:58 +0000
committeragc <agc@pkgsrc.org>2001-08-06 20:46:58 +0000
commita795ccc8e2718b9daa85057fb6dd6cc0c659491f (patch)
tree30028d926c562d6adde3d482a4a6429953477a88 /shells
parente19d2fcf8ffbcd550551433015c32193c38c23da (diff)
downloadpkgsrc-a795ccc8e2718b9daa85057fb6dd6cc0c659491f.tar.gz
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.
Diffstat (limited to 'shells')
-rw-r--r--shells/standalone-tcsh/pkg/PLIST6
1 files changed, 3 insertions, 3 deletions
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