8 if [ -x /usr
/sbin
/register-window-manager
]; then
9 register-window-manager
--remove wmaker
12 if [ -x /usr
/bin
/update-menus
] ; then
14 rm -f /etc
/X11
/WindowMaker
/menu.hook
/etc
/X11
/WindowMaker
/plmenu.hook
17 upgrade|abort-install|disappear
)
21 # this is an upgrade, and it has failed. What can fail?
25 # preinst failed, leave things like they were
28 echo "postrm called with unknown argument \`$1'" >&2