summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-desktop')
-rw-r--r--autoscripts/postrm-desktop3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/postrm-desktop b/autoscripts/postrm-desktop
new file mode 100644
index 00000000..38dd191c
--- /dev/null
+++ b/autoscripts/postrm-desktop
@@ -0,0 +1,3 @@
+if [ "$1" = "remove" ] && which update-desktop-database >/dev/null 2>&1 ; then
+ update-desktop-database -q
+fi