summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-wm
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-wm')
-rw-r--r--autoscripts/postinst-wm6
1 files changed, 4 insertions, 2 deletions
diff --git a/autoscripts/postinst-wm b/autoscripts/postinst-wm
index 794ad700..aef412a3 100644
--- a/autoscripts/postinst-wm
+++ b/autoscripts/postinst-wm
@@ -1,2 +1,4 @@
-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#
+fi