summaryrefslogtreecommitdiffstats
path: root/desktop/metacity/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/metacity/doinst.sh')
-rw-r--r--desktop/metacity/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/metacity/doinst.sh b/desktop/metacity/doinst.sh
index f8d62e51da..3f09ed129f 100644
--- a/desktop/metacity/doinst.sh
+++ b/desktop/metacity/doinst.sh
@@ -8,3 +8,7 @@ schema_install() {
schema_install metacity.schemas
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+