summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-04-14 18:35:59 +0000
committertron <tron@pkgsrc.org>1998-04-14 18:35:59 +0000
commit9229209fbc9b6668efc01a9c3c50cf290146c7d5 (patch)
tree9873e66e33d07b12f3119b20bc55741a16e12b23
parent0bda53b47ccf0db35cdcf103e0f753f9c15fb70f (diff)
downloadpkgsrc-9229209fbc9b6668efc01a9c3c50cf290146c7d5.tar.gz
Update of "/etc/shells" on "make install" didn't work.
-rw-r--r--shells/zsh/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 173cbaec630..90ce7decdfb 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -3,7 +3,7 @@
# Date created: 11 Feb. 1995
# Whom: torstenb
#
-# $NetBSD: Makefile,v 1.4 1998/02/24 15:42:34 tron Exp $
+# $NetBSD: Makefile,v 1.5 1998/04/14 18:35:59 tron Exp $
# FreeBSD Id: Makefile,v 1.26 1997/09/26 08:23:14 torstenb Exp
#
@@ -35,6 +35,7 @@ MAN1= zsh.1 zshbuiltins.1 zshcompctl.1 zshexpn.1 zshmisc.1 \
#LDFLAGS+=-static
post-install:
+ ${CP} /etc/shells /etc/shells.bak
(${GREP} -v ${PREFIX}/bin/zsh /etc/shells.bak; ${ECHO} ${PREFIX}/bin/zsh) >/etc/shells
${RM} /etc/shells.bak
@if [ ! -f ${PREFIX}/info/dir ]; then \