]> git.proxmox.com Git - pve-manager.git/blob - debian/prerm
d/control: bump versioned deps for widget-toolkit and access-control
[pve-manager.git] / debian / prerm
1 #! /bin/sh
2
3 # Abort if any command returns an error value
4 set -e
5
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.
10
11 package_name=pve-manager;
12
13 case "$1" in
14 remove|deconfigure|failed-upgrade) : ;;
15 upgrade)
16 if [ -L /usr/doc/$package_name ]; then
17 rm -f /usr/doc/$package_name
18 fi
19 ;;
20 *) echo "$0: didn't understand being called with \`$1'" 1>&2
21 exit 0;;
22 esac
23
24 exit 0