summaryrefslogtreecommitdiff
path: root/system/virt-viewer/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/virt-viewer/doinst.sh')
-rw-r--r--system/virt-viewer/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/virt-viewer/doinst.sh b/system/virt-viewer/doinst.sh
index 8542d1c18e..40c73b8cd7 100644
--- a/system/virt-viewer/doinst.sh
+++ b/system/virt-viewer/doinst.sh
@@ -1,3 +1,7 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/appliactions >/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