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