diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2010-03-01 15:21:12 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2010-03-01 15:21:12 +0000 |
commit | 93617a1a1c4cf2c8a813890ea485c27e4f56a834 (patch) | |
tree | 3369174cdf66afdbabcaf0b2c7340809170d50b3 /shells | |
parent | 9f29c54aa13ece661b7ced8e1b0ac9eca45cce55 (diff) |
Add rzsh to /etc/shells (this was handled correctly by pkg-plist when
installing from packages, just not when installing from ports)
Noticed by: ru@
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=250459
Diffstat (limited to 'shells')
-rw-r--r-- | shells/zsh/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile index 70fc95fe1b15..d61e3cffee9f 100644 --- a/shells/zsh/Makefile +++ b/shells/zsh/Makefile @@ -7,7 +7,7 @@ PORTNAME= zsh PORTVERSION= 4.3.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= shells MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-dev/${PORTVERSION}:src \ SF/${PORTNAME}/${PORTNAME}-doc-dev/${PORTVERSION}:doc @@ -147,10 +147,10 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/Doc/zsh.info ${PREFIX}/info/zsh.info .endif @${ECHO_MSG} "Updating ${SHELLS}" - @${CP} ${SHELLS} ${SHELLS}.bak - @(${GREP} -v ${PREFIX}/bin/zsh ${SHELLS}.bak; \ - ${ECHO_CMD} ${PREFIX}/bin/zsh) > ${SHELLS} - @${RM} ${SHELLS}.bak + @${GREP} -v ${PREFIX}/bin/r?zsh ${SHELLS} > ${SHELLS}.new + @${ECHO_CMD} ${PREFIX}/bin/zsh >> ${SHELLS}.new + @${ECHO_CMD} ${PREFIX}/bin/rzsh >> ${SHELLS}.new + @${MV} ${SHELLS}.new ${SHELLS} @${PREFIX}/bin/zsh -fc ' \ setopt extendedglob nomark_dirs; \ for i in ${DATADIR}/${ZSH_VER}/functions/**/*(/) ; do \ |