summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-wm
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-wm')
-rw-r--r--autoscripts/postrm-wm3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/postrm-wm b/autoscripts/postrm-wm
new file mode 100644
index 00000000..6dc9f5da
--- /dev/null
+++ b/autoscripts/postrm-wm
@@ -0,0 +1,3 @@
+if [ "$1" == "purge" -a -x /usr/sbin/register-window-manager ] ; then
+ register-window-manager --remove #WM#
+fi