summaryrefslogtreecommitdiff
path: root/shells/zsh
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1998-08-27 02:33:51 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1998-08-27 02:33:51 +0000
commit7d889fa355a6f606366274e24f93894f2c4f3ac9 (patch)
tree5e5a69e70942c250ce0db90909f655836e1b191a /shells/zsh
parentTake out MANCOMPRESSED=yes (not needed anymore, implied by USE_IMAKE). (diff)
Update /etc/shells upon make install.
Notes
Notes: svn path=/head/; revision=12876
Diffstat (limited to 'shells/zsh')
-rw-r--r--shells/zsh/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 50a5246787ec..e34b675202e7 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -3,7 +3,7 @@
# Date created: 11 Feb. 1995
# Whom: torstenb
#
-# $Id: Makefile,v 1.25 1997/06/25 05:24:43 torstenb Exp $
+# $Id: Makefile,v 1.26 1997/09/26 08:23:14 torstenb Exp $
#
DISTNAME= zsh-3.0.5
@@ -32,5 +32,10 @@ post-install:
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@install-info ${PREFIX}/info/zsh.info ${PREFIX}/info/dir
+ @${ECHO} "Updating /etc/shells"
+ @${CP} /etc/shells /etc/shells.bak
+ @(${GREP} -v ${PREFIX}/bin/zsh /etc/shells.bak; \
+ ${ECHO} ${PREFIX}/bin/zsh) > /etc/shells
+ @${RM} /etc/shells.bak
.include <bsd.port.mk>