3 # Abort if any command returns an error value
6 # This script is called as the first step in removing the package from
7 # the system. This includes cases where the user explicitly asked for
8 # the package to be removed, upgrade, automatic removal due to conflicts,
9 # and deconfiguration due to temporary removal of a depended-on package.
11 package_name
=pve-manager
;
14 remove|deconfigure|failed-upgrade
) : ;;
16 if [ -L /usr
/doc
/$package_name ]; then
17 rm -f /usr
/doc
/$package_name
20 *) echo "$0: didn't understand being called with \`$1'" 1>&2