summaryrefslogtreecommitdiffstats
path: root/core/modules/vmware15
diff options
context:
space:
mode:
authorJonathan Bauer2019-06-12 18:17:51 +0200
committerJonathan Bauer2019-06-12 18:17:51 +0200
commitc7b9a74b2a0dc5294cc71b33e47bbaec96912828 (patch)
treeb65409fa8d4af1577cbe72687845d0a5982d64d3 /core/modules/vmware15
parent[hardware-stats] Use idle-daemon to warn users of low mem (diff)
downloadmltk-c7b9a74b2a0dc5294cc71b33e47bbaec96912828.tar.gz
mltk-c7b9a74b2a0dc5294cc71b33e47bbaec96912828.tar.xz
mltk-c7b9a74b2a0dc5294cc71b33e47bbaec96912828.zip
[vmware*] try to fix gtk-update-icon-cache
since it probably speeds things up having it
Diffstat (limited to 'core/modules/vmware15')
-rw-r--r--core/modules/vmware15/module.build10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/modules/vmware15/module.build b/core/modules/vmware15/module.build
index cfb6fb39..3b7d5ff3 100644
--- a/core/modules/vmware15/module.build
+++ b/core/modules/vmware15/module.build
@@ -146,8 +146,14 @@ post_copy() {
# FIXME: gconftool is copied without dependencies
tarcopy "$(find /usr/lib/ /usr/lib64 -name gconv -type d)" "$TARGET_BUILD_DIR"
- # Update Icon cache for vmplayer
- gtk-update-icon-cache-3.0 "${TARGET_BUILD_DIR}/usr/share/icons/hicolor/" || pwarning "update-icon-cache-3.0 failed."
+ # Update Icon cache for vmplayer, older versions had the version in their names, newer do not...
+ for guic in gtk-update-icon-cache{,-3.0} fail; do
+ if [ "$guid" = "fail" ]; then
+ pwarning "Updating icon cache failed."
+ break
+ fi
+ "$guid" "${TARGET_BUILD_DIR}/usr/share/icons/hicolor/"
+ done
# fix vmware-usbarbitrator bug
date +'%Y.%m.%d' >"${TARGET_BUILD_DIR}/etc/arch-release"