diff options
author | joeyh <joeyh> | 2007-04-20 17:41:58 +0000 |
---|---|---|
committer | joeyh <joeyh> | 2007-04-20 17:41:58 +0000 |
commit | d21d3fea239cae53fbd0ff8a24e9580ff5060384 (patch) | |
tree | adf662dc07e6e880f94634a7e3992cd13c038ea4 /autoscripts/postinst-wm-noman | |
parent | 7e41b73a4ba707bce3c84f0c6d9f6f826ed0e37e (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-noman')
-rw-r--r-- | autoscripts/postinst-wm-noman | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autoscripts/postinst-wm-noman b/autoscripts/postinst-wm-noman new file mode 100644 index 00000000..aef412a3 --- /dev/null +++ b/autoscripts/postinst-wm-noman @@ -0,0 +1,4 @@ +if [ "$1" = "configure" ]; then + update-alternatives --install /usr/bin/x-window-manager \ + x-window-manager #WM# #PRIORITY# +fi |