1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-28 17:32:29 +01:00

debian: Update with version 0.95.8-2 packaging.

This commit is contained in:
Doug Torrance
2017-08-14 23:17:28 -04:00
committed by Carlos R. Mafra
parent b07075aed3
commit d6f754e747
23 changed files with 102 additions and 333 deletions

View File

@@ -1,38 +1,6 @@
#!/bin/sh
set -e
inst="/etc/menu-methods/wmaker /etc/menu-methods/wmappearance"
case "$1" in
remove)
for file in $inst ; do
if [ -f $file ] ; then
chmod a-x $file
fi
done
;;
purge)
if which update-menus >/dev/null 2>&1 ; then
update-menus
rm -f /etc/GNUstep/Defaults/menu.hook /etc/GNUstep/Defaults/appearance.menu
fi
;;
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/appearance.menu ; then
rm /etc/GNUstep/Defaults/appearance.menu
fi
#DEBHELPER#
exit 0