]> git.proxmox.com Git - pve-manager.git/blob - debian/postrm
add spiceproxy server
[pve-manager.git] / debian / postrm
1 #! /bin/sh
2
3 # Abort if any command returns an error value
4 set -e
5
6 if [ "$1" = purge ]; then
7 update-rc.d pvedaemon remove >/dev/null 2>&1
8 update-rc.d pveproxy remove >/dev/null 2>&1
9 update-rc.d spiceproxy remove >/dev/null 2>&1
10 update-rc.d pvestatd remove >/dev/null 2>&1
11 update-rc.d pvebanner remove >/dev/null 2>&1
12 update-rc.d pvenetcommit remove >/dev/null 2>&1
13 update-rc.d pve-manager remove >/dev/null 2>&1
14
15 if [ -e /usr/share/debconf/confmodule ]; then
16 . /usr/share/debconf/confmodule
17 db_purge
18 fi
19 fi