summaryrefslogtreecommitdiff
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
parenta62126deb67c3de7362ee742cc7eba49c88c0dd6 (diff)
downloadslackbuilds-0b89c93284661295f32ffe1039f31c2128b3e7af.tar.gz
development/mysql-workbench-gpl: Fixed (Handle icon & desktop files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--development/mysql-workbench-gpl/doinst.sh10
-rw-r--r--development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild2
2 files changed, 11 insertions, 1 deletions
diff --git a/development/mysql-workbench-gpl/doinst.sh b/development/mysql-workbench-gpl/doinst.sh
index 4e8ba7071d..9830478e8c 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
+
diff --git a/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild b/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild
index 25562873dd..f695005fff 100644
--- a/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild
+++ b/development/mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild
@@ -9,7 +9,7 @@
PRGNAM=mysql-workbench-gpl
VERSION=${VERSION:-5.2.43}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCVERSION=$VERSION-src