summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-wm
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-wm')
-rw-r--r--autoscripts/postinst-wm5
1 files changed, 2 insertions, 3 deletions
diff --git a/autoscripts/postinst-wm b/autoscripts/postinst-wm
index 94c052fc..794ad700 100644
--- a/autoscripts/postinst-wm
+++ b/autoscripts/postinst-wm
@@ -1,3 +1,2 @@
-if [ -x /usr/sbin/register-window-manager ] ; then
- register-window-manager --add #WM#
-fi
+update-alternatives --install /usr/bin/x-window-manager \
+ x-window-manager #WM# #PRIORITY#