wmmenugen: Use 'Other' instead of 'Applications' for unknown categories.
[wmaker-crm.git] / debian / wmaker.postrm
blobb31f7f94f854f0749f70308d40a5bd27309b34f6
1 #!/bin/sh
2 set -e
4 case "$1" in
5 remove)
6 if which update-menus >/dev/null 2>&1 ; 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