summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authortron <tron>1998-02-24 15:42:34 +0000
committertron <tron>1998-02-24 15:42:34 +0000
commit7e3684a72b13b79cc48637e53da5c5b593e9861a (patch)
treef8f8d6701164b8b2cc78d959c4a4b064a432b18f /shells
parentbcd6100a5cbb34db5b95c0c157718a67a63e58de (diff)
downloadpkgsrc-7e3684a72b13b79cc48637e53da5c5b593e9861a.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