New release (version 0.2).
[public/pyceo-broken.git] / debian / postrm
1 #!/bin/bash -e
2
3 case "$1" in
4     purge)
5
6         if dpkg-statoverride --list /usr/bin/ceo > /dev/null; then
7             dpkg-statoverride --remove /usr/bin/ceo || true
8         fi
9
10         if dpkg-statoverride --list /etc/csc/ldap.cf > /dev/null; then
11             dpkg-statoverride --remove /etc/csc/ldap.cf || true
12         fi
13         
14         if dpkg-statoverride --list /etc/csc/ceo.keytab > /dev/null; then
15             dpkg-statoverride --remove /etc/csc/ceo.keytab || true
16         fi
17
18         rmdir --ignore-fail-on-non-empty /etc/csc
19             
20     ;;
21     
22     remove|failed-upgrade|upgrade)
23     ;;
24     
25     *)
26         echo "postrm called with invalid argument \"$1\"" >&2
27         exit 1
28     ;;
29 esac
30
31 #DEBHELPER#
32
33 exit 0