#!/bin/sh set -e # Automatically added by dh_installwm/13.14.1 if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ]; then update-alternatives --install /usr/bin/x-window-manager \ x-window-manager /usr/bin/wmaker 50 \ --slave /usr/share/man/man1/x-window-manager.1.gz \ x-window-manager.1.gz /usr/share/man/man1/wmaker.1.gz fi # End automatically added section # run after debhelper code, which removes menu-methods. if [ "$1" = "configure" ] && [ x"$2" != "x" ] && test -e /etc/GNUstep/Defaults/menu.hook && dpkg --compare-versions "$2" '<<' '0.95.8-2~' ; then if head -n1 /etc/GNUstep/Defaults/menu.hook | grep -q 'Automatically generated file. Do not edit' ; then rm /etc/GNUstep/Defaults/menu.hook fi fi