summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-wm
diff options
context:
space:
mode:
authorjoeyh <joeyh>2007-04-20 17:41:58 +0000
committerjoeyh <joeyh>2007-04-20 17:41:58 +0000
commitd21d3fea239cae53fbd0ff8a24e9580ff5060384 (patch)
treeadf662dc07e6e880f94634a7e3992cd13c038ea4 /autoscripts/postinst-wm
parent7e41b73a4ba707bce3c84f0c6d9f6f826ed0e37e (diff)
r1997: * dh_installwm: Fix several stupid bugs, including:
- man page handling was supposed to be v6 only and was not - typo in alternatives call - use the basename of the wm to get the man page name Closes: #420158 * dh_installwm: Also make the code to find the man page more robust and fall back to not registering a man page if it is not found.
Diffstat (limited to 'autoscripts/postinst-wm')
-rw-r--r--autoscripts/postinst-wm2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-wm b/autoscripts/postinst-wm
index d47aefa..ee63628 100644
--- a/autoscripts/postinst-wm
+++ b/autoscripts/postinst-wm
@@ -2,5 +2,5 @@ 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 /usr/share/man/man1/#WM#.1.gz
+ x-window-manager.1.gz #WMMAN#
fi