Mostly copy and paste from linuxmint/xreader Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
10 lines
296 B
Python
10 lines
296 B
Python
#!/usr/bin/python3
|
|
|
|
import os
|
|
import subprocess
|
|
|
|
themedir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 'icons', 'hicolor')
|
|
|
|
if not os.environ.get('DESTDIR'):
|
|
print('Updating gtk icon cache... %s' % themedir)
|
|
subprocess.call(['gtk-update-icon-cache', '-f', '-t', themedir])
|