aboutsummaryrefslogtreecommitdiff
path: root/development/mysql-workbench-gpl/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 16:08:56 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:43 -0500
commit0b89c93284661295f32ffe1039f31c2128b3e7af (patch)
tree6991cf80ba6b1fd604b0e280ba1c9c1b683237ee /development/mysql-workbench-gpl/doinst.sh
parenta62126deb67c3de7362ee742cc7eba49c88c0dd6 (diff)
development/mysql-workbench-gpl: Fixed (Handle icon & desktop files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/mysql-workbench-gpl/doinst.sh')
-rw-r--r--development/mysql-workbench-gpl/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/development/mysql-workbench-gpl/doinst.sh b/development/mysql-workbench-gpl/doinst.sh
index 4e8ba7071dea..9830478e8cc7 100644
--- a/development/mysql-workbench-gpl/doinst.sh
+++ b/development/mysql-workbench-gpl/doinst.sh
@@ -2,3 +2,13 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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
+ fi
+fi
+