Comment 60 for bug 429841

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thanks for working on this. The change looks ok, and doesn't introduce any other issues.

For the SRU team, the part of the old prerm script which fails is this:

    [ `update-alternatives --list "$p-flashplugin" | wc -l` = 0 ] && \
    update-alternatives --remove-all "$p-flashplugin"

This used to remove the link once the last alternative had been removed, but is not necessary with the newer update-alternatives, and fails if you call it after removing the last alternative. Newer prerm scripts have already been updated to not do this, and the old script failing means that the alternative was already properly removed