summaryrefslogtreecommitdiff
path: root/desktop/xfce4-notes-plugin/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/xfce4-notes-plugin/doinst.sh')
-rw-r--r--desktop/xfce4-notes-plugin/doinst.sh4
1 files changed, 4 insertions, 0 deletions
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