File: post_install.py

package info (click to toggle)
faba-icon-theme 4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 12,032 kB
  • sloc: ruby: 163; makefile: 7; python: 6
file content (9 lines) | stat: -rwxr-xr-x 293 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/usr/bin/env python3

from os import environ, path
from subprocess import call

if not environ.get('DESTDIR', ''):
    PREFIX = environ.get('MESON_INSTALL_PREFIX', '/usr')
    print('Updating icon cache...')
    call(['gtk-update-icon-cache', '-qtf', path.join(PREFIX, 'share/icons/Faba')])