X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-wm;h=ee636287af06639d2e2fc7485ba1325f21a73a24;hb=5443176ec72f324f9a025e965aef1bf60c4d7dc3;hp=794ad7004502bb5e76f095ae82a11f654f26b110;hpb=67b74298f08a3e2b30e43cbcd7cdaccc2e1b1614;p=debhelper.git diff --git a/autoscripts/postinst-wm b/autoscripts/postinst-wm index 794ad70..ee63628 100644 --- a/autoscripts/postinst-wm +++ b/autoscripts/postinst-wm @@ -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