aboutsummaryrefslogtreecommitdiff
path: root/misc/nfoview/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-07-01 02:11:29 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-01 02:11:29 -0500
commit75d7ad1bb30c1dc85039ef0e2a0625cb842cbbed (patch)
tree1a9d1c442312114630755f4d84896f19a9362142 /misc/nfoview/doinst.sh
parentfcd5e68950519d054e2f8aff018cc128e10533b2 (diff)
misc/nfoview: Updated for version 1.9.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/nfoview/doinst.sh')
-rw-r--r--misc/nfoview/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/nfoview/doinst.sh b/misc/nfoview/doinst.sh
index 3857649f506a8..9f1846bc38ccf 100644
--- a/misc/nfoview/doinst.sh
+++ b/misc/nfoview/doinst.sh
@@ -1,3 +1,10 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
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
+