]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-wm
r455: * Applied a patch from Anton Zinoviev <anton@lml.bas.bg> to pass -e
[debhelper.git] / autoscripts / postinst-wm
index 94c052fc87d966c2b73f41e3da4f59b726615503..aef412a35601355ecd3764cbadd4677adcd68916 100644 (file)
@@ -1,3 +1,4 @@
-if [ -x /usr/sbin/register-window-manager ] ; then
-       register-window-manager --add #WM#
+if [ "$1" = "configure" ]; then
+       update-alternatives --install /usr/bin/x-window-manager \
+               x-window-manager #WM# #PRIORITY#
 fi