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>
This commit is contained in:
Andrew Clemons 2021-08-22 14:54:05 +12:00 committed by Willy Sudiarto Raharjo
parent 12abfd0259
commit e61a19ee84
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 6 additions and 0 deletions

View File

@ -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