summaryrefslogtreecommitdiff
path: root/debian/zsh-static.postinst
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2016-01-31 20:20:28 +0100
committerAxel Beckert <abe@deuxchevaux.org>2016-01-31 20:22:02 +0100
commitda1b680be1e3307cc2c2de34b81be554f4a32be6 (patch)
treee3b967df4179d87f45aeb6704ba1cc6f9d0acedb /debian/zsh-static.postinst
parent0013070a348a68ced5894522501ad3b17d26e7fb (diff)
downloadzsh-da1b680be1e3307cc2c2de34b81be554f4a32be6.tar.gz
zsh-da1b680be1e3307cc2c2de34b81be554f4a32be6.zip
Remove usage of alternatives system for zsh, rzsh and zsh-static
This also fixes installation together with usrmerge, which fiddles with the directory layout and makes /bin a symlink to /usr/bin against all Unix tradition and violating FHS. Closes: #768079
Diffstat (limited to 'debian/zsh-static.postinst')
-rw-r--r--debian/zsh-static.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/zsh-static.postinst b/debian/zsh-static.postinst
index e275a2cb3..2d04961d3 100644
--- a/debian/zsh-static.postinst
+++ b/debian/zsh-static.postinst
@@ -19,8 +19,8 @@ case "$1" in
;;
esac
-update-alternatives --install /bin/zsh-static zsh-static /bin/zsh5-static 41
update-alternatives --remove zsh-static /bin/zsh4-static
+update-alternatives --remove zsh-static /bin/zsh5-static
#DEBHELPER#