mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-28 09:22:27 +01:00
debian: Update with version 0.95.8-2 packaging.
This commit is contained in:
committed by
Carlos R. Mafra
parent
b07075aed3
commit
d6f754e747
28
debian/wmaker.postrm
vendored
28
debian/wmaker.postrm
vendored
@@ -1,28 +1,6 @@
|
||||
#!/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
|
||||
|
||||
if [ "$1" = "purge" ] && test -e /etc/GNUstep/Defaults/menu.hook ; then
|
||||
rm /etc/GNUstep/Defaults/menu.hook
|
||||
fi
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user