From 0b89c93284661295f32ffe1039f31c2128b3e7af Mon Sep 17 00:00:00 2001 From: dsomero Date: Sat, 29 Sep 2012 16:08:56 -0400 Subject: [PATCH] development/mysql-workbench-gpl: Fixed (Handle icon & desktop files) Signed-off-by: dsomero --- development/mysql-workbench-gpl/doinst.sh | 10 ++++++++++ .../mysql-workbench-gpl/mysql-workbench-gpl.SlackBuild | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) 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