]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
update_gtk_icon_cache: Fix for GTK4-only builds
authorZoltan Boszormenyi <zboszor@gmail.com>
Wed, 6 Dec 2023 09:19:22 +0000 (10:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Dec 2023 16:58:28 +0000 (16:58 +0000)
commit1e01ef59a5864f1261e9c0ca76fcccee2eb7e7f3
tree8014b1f5be361eae621b0d27e68c543a64745a96
parent895840f8419791e25ae6f356bd95b00d3c7be30c
update_gtk_icon_cache: Fix for GTK4-only builds

Try to execute both gtk-update-icon-cache and
gtk4-update-icon-cache after checking whether the
commands are available.

This attempts to match what gtk-icon-cache.bbclass is doing.

This fixes running update_gtk_icon_cache during do_rootfs
for an image that contains only GTK4 related packages.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/postinst-intercepts/update_gtk_icon_cache