]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-wm
cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 Thanks, Simon Ruderich for the patch...
[debhelper.git] / autoscripts / postinst-wm
index 794ad7004502bb5e76f095ae82a11f654f26b110..ee636287af06639d2e2fc7485ba1325f21a73a24 100644 (file)
@@ -1,2 +1,6 @@
-update-alternatives --install /usr/bin/x-window-manager \
-       x-window-manager #WM# #PRIORITY#
+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