| 1 |
|
| 2 |
|
| 3 |
from os import environ, path |
| 4 |
from subprocess import call |
| 5 |
|
| 6 |
if not environ.get('DESTDIR', ''): |
| 7 |
PREFIX = environ.get('MESON_INSTALL_PREFIX', '/usr') |
| 8 |
print('Updating icon cache...') |
| 9 |
call(['gtk-update-icon-cache', '-qtf', path.join(PREFIX, 'share/icons/Paper')]) |