diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2014-09-01 02:02:38 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-09-05 23:23:07 +0700 |
commit | eee37b4b4554648f92d2c9048b6cda17b219886c (patch) | |
tree | d4ac9ca04fcd8c82db3006c4fe50e26145dad00e | |
parent | b47d6b829fe01758ebcf6bb321c0ccda89689708 (diff) |
multimedia/google-earth: Bugfixes for icon and doinst.sh.
Signed-off-by: Michiel van Wessem <michiel@slackbuilds.org>
-rw-r--r-- | multimedia/google-earth/doinst.sh | 8 | ||||
-rw-r--r-- | multimedia/google-earth/google-earth.SlackBuild | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/multimedia/google-earth/doinst.sh b/multimedia/google-earth/doinst.sh index acbb07fe3d1aa..58989910ea105 100644 --- a/multimedia/google-earth/doinst.sh +++ b/multimedia/google-earth/doinst.sh @@ -5,4 +5,10 @@ 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/multimedia/google-earth/google-earth.SlackBuild b/multimedia/google-earth/google-earth.SlackBuild index 6e0230209d22f..8c0bd13047485 100644 --- a/multimedia/google-earth/google-earth.SlackBuild +++ b/multimedia/google-earth/google-earth.SlackBuild @@ -31,7 +31,7 @@ PRGNAM=google-earth VERSION="7.1.2.2041" ARCH=i386 # Since this is the arch google dictates -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -66,7 +66,7 @@ mv $PKG/opt/google/earth/free/google-earth.desktop $PKG/usr/share/applications/g # Copy icons to /usr/share/icons for icon in 16 22 24 32 48 64 128 256; do install -D $PKG/opt/google/earth/free/product_logo_${icon}.png \ - $PKG/usr/share/icons/hicolor/${icon}x${icon}/apps/googleearth.png + $PKG/usr/share/icons/hicolor/${icon}x${icon}/apps/${PRGNAM}.png done # Install mimetypes |