From c125df777f6b2ef8dfe7cf447d7ac93c7523ed18 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Sun, 20 Dec 2020 19:25:50 +0100 Subject: [PATCH] Use GTK4 version of update-icon-cache Even if GTK3 is preinstalled on GNOME, app should use GTK4 version of "update-icon-cache" binary which is a proper thing to do. --- build-aux/meson/postinstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/meson/postinstall.py b/build-aux/meson/postinstall.py index 213a4a61..851743ad 100755 --- a/build-aux/meson/postinstall.py +++ b/build-aux/meson/postinstall.py @@ -10,7 +10,7 @@ destdir = environ.get('DESTDIR', '') # Package managers set this so we don't need to run if not destdir: print('Updating icon cache...') - call(['gtk-update-icon-cache', '-qtf', path.join(sharedir, 'icons', 'hicolor')]) + call(['gtk4-update-icon-cache', '-qtf', path.join(sharedir, 'icons', 'hicolor')]) print('Updating mime database...') call(['update-mime-database', path.join(sharedir, 'mime')])