summaryrefslogtreecommitdiffstats
path: root/icedtea-web
diff options
context:
space:
mode:
Diffstat (limited to 'icedtea-web')
-rw-r--r--icedtea-web/build/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/icedtea-web/build/doinst.sh b/icedtea-web/build/doinst.sh
new file mode 100644
index 00000000..3f2936c2
--- /dev/null
+++ b/icedtea-web/build/doinst.sh
@@ -0,0 +1,10 @@
+# Update the desktop database:
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1
+fi
+
+# Update the mime database:
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database /usr/share/mime >/dev/null 2>&1
+fi
+