aboutsummaryrefslogtreecommitdiff
path: root/misc/nfoview/doinst.sh
diff options
context:
space:
mode:
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 3857649f506a..9f1846bc38cc 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
+