summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-wm
diff options
context:
space:
mode:
authorunknown <unknown>2003-07-28 18:43:17 +0000
committerunknown <unknown>2003-07-28 18:43:17 +0000
commite5474c83813a7795bb9ee043f65fcf57167039f7 (patch)
tree47c37051ccc443d59968a2acd5d86a53b3c4a6b0 /autoscripts/postinst-wm
parentd579dae0cf159c50dcd902ff4a35590f7dcff395 (diff)
parent63e45075003b1d9fcff097b5644a81131c346653 (diff)
downloaddebhelper-version_2.0.22.tar.gz
r621: This commit was manufactured by cvs2svn to create tag 'rel-2-0-22'.version_2.0.22
Diffstat (limited to 'autoscripts/postinst-wm')
-rw-r--r--autoscripts/postinst-wm5
1 files changed, 2 insertions, 3 deletions
diff --git a/autoscripts/postinst-wm b/autoscripts/postinst-wm
index aef412a3..925c7883 100644
--- a/autoscripts/postinst-wm
+++ b/autoscripts/postinst-wm
@@ -1,4 +1,3 @@
-if [ "$1" = "configure" ]; then
- update-alternatives --install /usr/bin/x-window-manager \
- x-window-manager #WM# #PRIORITY#
+if command -v register-window-manager >/dev/null 2>&1; then
+ register-window-manager --add #WM#
fi