wmaker: Use the macro 'wlengthof' to get the number of element in an array
[wmaker-crm.git] / debian / wmaker.postrm
blob562a527c82f978f812c3fc025acab673280c20d8
1 #!/bin/sh
2 set -e
4 case "$1" in
5 remove)
6 if [ -x /usr/bin/update-menus ] ; then
7 update-menus
8 fi
9 ;;
10 purge|upgrade|abort-install|disappear)
11 # nothing to do
13 failed-upgrade)
14 # this is an upgrade, and it has failed. What can fail?
15 exit 1
17 abort-upgrade)
18 # preinst failed, leave things like they were
21 echo "postrm called with unknown argument \`$1'" >&2
22 exit 1
24 esac
26 #DEBHELPER#
28 exit 0