mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 22:52:34 +01:00
29 lines
457 B
Bash
29 lines
457 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
case "$1" in
|
|
remove)
|
|
if which update-menus >/dev/null 2>&1 ; then
|
|
update-menus
|
|
fi
|
|
;;
|
|
purge|upgrade|abort-install|disappear)
|
|
# nothing to do
|
|
;;
|
|
failed-upgrade)
|
|
# this is an upgrade, and it has failed. What can fail?
|
|
exit 1
|
|
;;
|
|
abort-upgrade)
|
|
# preinst failed, leave things like they were
|
|
;;
|
|
*)
|
|
echo "postrm called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|