Add debianisation code and automatic build script
[wmaker-crm.git] / debian / wmaker.prerm
1 #!/bin/sh
2
3 set -e
4
5 case "$1" in
6     failed-upgrade|abort-upgrade|deconfigure)
7         update-alternatives --remove x-window-manager /usr/bin/wmaker
8     ;;
9     remove)
10         update-alternatives --remove x-window-manager /usr/bin/wmaker
11     ;;
12     upgrade)
13     ;;
14     *)
15         echo "postrm called with unknown argument \`$1'" >&2
16         exit 1
17     ;;
18 esac
19
20 #DEBHELPER#
21
22 exit 0