X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-wm;fp=autoscripts%2Fpostinst-wm;h=794ad7004502bb5e76f095ae82a11f654f26b110;hb=67b74298f08a3e2b30e43cbcd7cdaccc2e1b1614;hp=94c052fc87d966c2b73f41e3da4f59b726615503;hpb=c7f541bd2bc869c366e8242baf1faa6856cd2e39;p=debhelper.git diff --git a/autoscripts/postinst-wm b/autoscripts/postinst-wm index 94c052f..794ad70 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#