]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-wm
Updated French man page translation. Closes: #685560
[debhelper.git] / autoscripts / postinst-wm
index 94c052fc87d966c2b73f41e3da4f59b726615503..ee636287af06639d2e2fc7485ba1325f21a73a24 100644 (file)
@@ -1,3 +1,6 @@
-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# \
+               --slave /usr/share/man/man1/x-window-manager.1.gz \
+               x-window-manager.1.gz #WMMAN#
 fi