]> git.proxmox.com Git - pve-manager.git/blame_incremental - debian/prerm
d/control: bump version dependency for libpve-common-perl
[pve-manager.git] / debian / prerm
... / ...
CommitLineData
1#! /bin/sh
2
3# Abort if any command returns an error value
4set -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
11package_name=pve-manager;
12
13case "$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;;
22esac
23
24exit 0