summaryrefslogtreecommitdiffstats
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.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/virt-viewer/doinst.sh b/system/virt-viewer/doinst.sh
index 40c73b8cd7..031ae07d05 100644
--- a/system/virt-viewer/doinst.sh
+++ b/system/virt-viewer/doinst.sh
@@ -1,5 +1,5 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/appliactions >/dev/null 2>&1
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
@@ -7,3 +7,7 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi