Bug#792849: kde-window-manager: leaves alternatives after purge: x-window-manager -> /usr/bin/kwin
Followup-For: Bug #792849
Control: tag -1 patch
attached is debian/kde-window-manager.postinst that should perform the
cleanupup of the alternative as previously done by the prerm script.
Maybe the could/should already be handled in the preinst.
Completely untested :-)
Andreas
#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
# cleanup obsolete alternative
update-alternatives --remove x-window-manager /usr/bin/kwin
fi
#DEBHELPER#
Reply to: