From 9955b3908aaee2924402b4dc5159cf4b29bdbfd8 Mon Sep 17 00:00:00 2001
From: Robby Workman <rw@rlworkman.net>
Date: Thu, 30 Dec 2010 00:23:11 -0200
Subject: desktop/xfce4-notes-plugin: Updated for version 1.7.7.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
---
 desktop/xfce4-notes-plugin/doinst.sh | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'desktop/xfce4-notes-plugin/doinst.sh')

diff --git a/desktop/xfce4-notes-plugin/doinst.sh b/desktop/xfce4-notes-plugin/doinst.sh
index 30eb690936..1f8ff67ded 100644
--- a/desktop/xfce4-notes-plugin/doinst.sh
+++ b/desktop/xfce4-notes-plugin/doinst.sh
@@ -1,3 +1,7 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
 if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
   if [ -x /usr/bin/gtk-update-icon-cache ]; then
     /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
-- 
cgit v1.2.3