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
commitf70bd318ac77f56600154f1255c468784e97f465 (patch)
tree9873e66e33d07b12f3119b20bc55741a16e12b23 /shells
parentf534da86d112af51fdc168cc4741a65c890bdc26 (diff)
downloadpkgsrc-f70bd318ac77f56600154f1255c468784e97f465.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 \