summaryrefslogtreecommitdiff
path: root/desktop/fusion-icon/doinst.sh
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2012-05-20 16:54:36 -0400
committerErik Hanson <erik@slackbuilds.org>2012-05-21 17:58:11 -0500
commit632be1c369f2529e820f90dcab026ee8257b08d3 (patch)
treea9c25735e22294408f871d2080055f5265eaf315 /desktop/fusion-icon/doinst.sh
parent92011c9125b375d50c309682c0b1edea4e680f0e (diff)
downloadslackbuilds-632be1c369f2529e820f90dcab026ee8257b08d3.tar.gz
desktop/fusion-icon: Updated for new source location.
Fixed download link. Also the version number makes it seem like this is a older version but its actually the exact same as before. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/fusion-icon/doinst.sh')
-rw-r--r--desktop/fusion-icon/doinst.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/desktop/fusion-icon/doinst.sh b/desktop/fusion-icon/doinst.sh
index a61bc59590..76cc38a548 100644
--- a/desktop/fusion-icon/doinst.sh
+++ b/desktop/fusion-icon/doinst.sh
@@ -1,7 +1,9 @@
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor >/dev/null 2>&1
-fi
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/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