summaryrefslogtreecommitdiff
path: root/system/virt-viewer/doinst.sh
diff options
context:
space:
mode:
authorZak B. Elep <zakame@zakame.net>2013-05-19 09:12:50 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-05-19 09:12:50 -0400
commit39e0617de045f99fb245b6c0006b53e1f5f62ac9 (patch)
treed0a710f13043b6670f15bda37530f03433358825 /system/virt-viewer/doinst.sh
parent10ed3fc39cf184b1af78e5dbe819c0c9cc0fcb30 (diff)
downloadslackbuilds-39e0617de045f99fb245b6c0006b53e1f5f62ac9.tar.gz
system/virt-viewer: Updated for version 0.5.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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