diff options
author | agc <agc@pkgsrc.org> | 2001-08-06 20:46:58 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-08-06 20:46:58 +0000 |
commit | a795ccc8e2718b9daa85057fb6dd6cc0c659491f (patch) | |
tree | 30028d926c562d6adde3d482a4a6429953477a88 /shells | |
parent | e19d2fcf8ffbcd550551433015c32193c38c23da (diff) | |
download | pkgsrc-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/PLIST | 6 |
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 |