summaryrefslogtreecommitdiffstats
path: root/autoscripts/postinst-wm-noman
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-wm-noman')
-rw-r--r--autoscripts/postinst-wm-noman4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoscripts/postinst-wm-noman b/autoscripts/postinst-wm-noman
new file mode 100644
index 0000000..07e8d9a
--- /dev/null
+++ b/autoscripts/postinst-wm-noman
@@ -0,0 +1,4 @@
+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