diff options
Diffstat (limited to 'autoscripts/postinst-wm')
-rw-r--r-- | autoscripts/postinst-wm | 5 |
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 |