On Mon, Apr 10, 2017 at 04:35:24PM +0200, Axel Beckert wrote: >... > It is not. See /var/lib/dpkg/info/zsh.postinst: > > 5 case "$1" in > 6 (configure) > 7 add-shell /bin/zsh > 8 add-shell /usr/bin/zsh > 9 > 10 # New hardcoded symlinks which unfortunately can't be shipped > inside > 11 # the package itself since some people want to merge /bin and > /usr/bin > 12 # against FHS and all Unix tradition. > 13 if [ ! -e /usr/bin/zsh -a ! -L /usr/bin/zsh ]; then > 14 ln -s /bin/zsh /usr/bin/zsh > 15 fi > 16 ;; >...
I think I understand where the problem is: The link is not created due to the old alternatives link still existing. This block has to be moved after the update-alternatives --remove zsh /bin/zsh5 > Regards, Axel cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed