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 794ad70..aef412a 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