• Axel Beckert's avatar
    Only handle /usr/bin/zsh symlink in postrm/remove and postinst/configure stages · 2be20bd0
    Axel Beckert authored
    Introducing compatibility with the standards-ignoring usrmerge
    package, the zsh package started to create and remove the /usr/bin/zsh
    symlink in all possible stages of the according maintainer scripts:
    The symlink was even created on zsh.postinst being called with abort-*
    as parameter and on zsh.postrm being called with upgrade as parameter,
    leading to a removal and recreation of the symlink during upgrades and
    hence being without that symlink for a more or less short timespan.
    
    Closes: #841048
    2be20bd0