[Pkg-zsh-commits] [zsh] 02/02: Remove zsh4 alternative after installing zsh5 alternative so that it's never empty

Axel Beckert abe at deuxchevaux.org
Mon Oct 20 12:12:17 UTC 2014


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch debian
in repository zsh.

commit 93f26bfede75a50a548f05cd6030e6023599691a
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Oct 20 14:04:46 2014 +0200

    Remove zsh4 alternative after installing zsh5 alternative so that it's never empty
    
    Git-Dch: Ignore
---
 debian/zsh.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/zsh.postinst b/debian/zsh.postinst
index ec4083e..40f1756 100644
--- a/debian/zsh.postinst
+++ b/debian/zsh.postinst
@@ -21,11 +21,11 @@ esac
 update-alternatives --remove zsh /usr/bin/zsh
 update-alternatives --remove ksh /usr/bin/zsh
 update-alternatives --remove ksh /bin/zsh4
-update-alternatives --remove zsh /bin/zsh4
 update-alternatives --install /bin/zsh zsh /bin/zsh5 51 \
 		--slave /usr/bin/zsh zsh-usrbin /bin/zsh5
 update-alternatives --install /bin/rzsh rzsh /bin/zsh5 51 \
 		--slave /usr/share/man/man1/rzsh.1.gz rzsh.1.gz /usr/share/man/man1/zsh.1.gz
+update-alternatives --remove zsh /bin/zsh4
 
 # Replace documentation directory with symlink
 docdir="/usr/share/doc/zsh"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git



More information about the Pkg-zsh-commits mailing list