From e61a19ee849b17b3b7182f2d6e95f3bcef24d20f Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 22 Aug 2021 14:54:05 +1200 Subject: [PATCH] libraries/efl: Updated icon cache in doinst.sh. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- libraries/efl/doinst.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libraries/efl/doinst.sh b/libraries/efl/doinst.sh index 5fb28930db..65c7e2eeb9 100644 --- a/libraries/efl/doinst.sh +++ b/libraries/efl/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q 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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi