summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-wm
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-wm')
-rw-r--r--autoscripts/postrm-wm5
1 files changed, 2 insertions, 3 deletions
diff --git a/autoscripts/postrm-wm b/autoscripts/postrm-wm
index 6dc9f5da..c4670b9f 100644
--- a/autoscripts/postrm-wm
+++ b/autoscripts/postrm-wm
@@ -1,3 +1,2 @@
-if [ "$1" == "purge" -a -x /usr/sbin/register-window-manager ] ; then
- register-window-manager --remove #WM#
-fi
+update-alternatives --remove x-window-manager #WM#
+