summaryrefslogtreecommitdiff
path: root/meson_post_install.py
blob: d9cc6f4a043a03cd7bb51a384e90e40cfebf05e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python3

import os
import subprocess
import sys

if not os.environ.get('DESTDIR'):
  print('Compiling gsettings schemas...')
  subprocess.call(['glib-compile-schemas', sys.argv[1]])

  print('GIO module cache creation...')
  subprocess.call(['gio-querymodules', sys.argv[2]])