mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
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:
@@ -10,7 +10,7 @@ destdir = environ.get('DESTDIR', '')
|
|||||||
# Package managers set this so we don't need to run
|
# Package managers set this so we don't need to run
|
||||||
if not destdir:
|
if not destdir:
|
||||||
print('Updating icon cache...')
|
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...')
|
print('Updating mime database...')
|
||||||
call(['update-mime-database', path.join(sharedir, 'mime')])
|
call(['update-mime-database', path.join(sharedir, 'mime')])
|
||||||
|
Reference in New Issue
Block a user