summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
authorjoey <joey>2004-10-12 18:36:14 +0000
committerjoey <joey>2004-10-12 18:36:14 +0000
commit8984e430ad35066bdd26052348a42d9daaed36d6 (patch)
tree4f34847d4d81f7400d049816f97cf7709deaf368 /autoscripts
parent76e0152750d4ee75ce7529a9a61205cee198d2b7 (diff)
r1717: releasing version 4.2.21
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/postinst-desktop3
-rw-r--r--autoscripts/postrm-desktop3
2 files changed, 6 insertions, 0 deletions
diff --git a/autoscripts/postinst-desktop b/autoscripts/postinst-desktop
new file mode 100644
index 00000000..ff6e6a12
--- /dev/null
+++ b/autoscripts/postinst-desktop
@@ -0,0 +1,3 @@
+if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then
+ update-desktop-database -q
+fi
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