diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-08-22 14:54:05 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-25 12:11:25 +0700 |
commit | e61a19ee849b17b3b7182f2d6e95f3bcef24d20f (patch) | |
tree | dac8df2ad6b039663f0fd79474e3821b54960809 | |
parent | 12abfd02597b1c4a98379e736366364bcd3c72b5 (diff) | |
download | slackbuilds-e61a19ee849b17b3b7182f2d6e95f3bcef24d20f.tar.gz |
libraries/efl: Updated icon cache in doinst.sh.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/efl/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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 |