summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-02-24 15:42:34 +0000
committertron <tron@pkgsrc.org>1998-02-24 15:42:34 +0000
commit9877260955987e04f62f76780c3994df5abb4b0d (patch)
treef8f8d6701164b8b2cc78d959c4a4b064a432b18f /shells
parentaa16b76cf73f5d53fcd6f0c98f6f0e841161912c (diff)
downloadpkgsrc-9877260955987e04f62f76780c3994df5abb4b0d.tar.gz
"/etc/shells" was updated only by "pkg_add" but not by "make installe".
Diffstat (limited to 'shells')
-rw-r--r--shells/zsh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index b9baff87846..173cbaec630 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -3,7 +3,7 @@
# Date created: 11 Feb. 1995
# Whom: torstenb
#
-# $NetBSD: Makefile,v 1.3 1998/01/24 23:18:58 hubertf Exp $
+# $NetBSD: Makefile,v 1.4 1998/02/24 15:42:34 tron Exp $
# FreeBSD Id: Makefile,v 1.26 1997/09/26 08:23:14 torstenb Exp
#
@@ -35,6 +35,8 @@ MAN1= zsh.1 zshbuiltins.1 zshcompctl.1 zshexpn.1 zshmisc.1 \
#LDFLAGS+=-static
post-install:
+ (${GREP} -v ${PREFIX}/bin/zsh /etc/shells.bak; ${ECHO} ${PREFIX}/bin/zsh) >/etc/shells
+ ${RM} /etc/shells.bak
@if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi