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 0000000..38dd191
--- /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