summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authortron <tron>1998-04-14 18:35:59 +0000
committertron <tron>1998-04-14 18:35:59 +0000
commite26cc00871b0c0633502d85a890c217a935f2d69 (patch)
tree9873e66e33d07b12f3119b20bc55741a16e12b23 /shells
parent61a00352151456482436b8fa23ac1ce2ce26b745 (diff)
downloadpkgsrc-e26cc00871b0c0633502d85a890c217a935f2d69.tar.gz
Update of "/etc/shells" on "make install" didn't work.
Diffstat (limited to 'shells')
-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 \