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.
This commit is contained in:
Rafostar
2020-12-20 19:25:50 +01:00
parent b97967e374
commit c125df777f

View File

@@ -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')])