summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-wm-noman
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-wm-noman')
-rw-r--r--autoscripts/postinst-wm-noman2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-wm-noman b/autoscripts/postinst-wm-noman
index aef412a3..07e8d9a2 100644
--- a/autoscripts/postinst-wm-noman
+++ b/autoscripts/postinst-wm-noman
@@ -1,4 +1,4 @@
-if [ "$1" = "configure" ]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
update-alternatives --install /usr/bin/x-window-manager \
x-window-manager #WM# #PRIORITY#
fi