• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python3
2
3import os
4import subprocess
5import sys
6
7datadir = sys.argv[1]
8
9# Package managers set this so we don't need to run
10if not os.environ.get('DESTDIR'):
11    schemadir = os.path.join(datadir, 'glib-2.0', 'schemas')
12    print('Compiling gsettings schemas...')
13    subprocess.call(['glib-compile-schemas', schemadir])
14
15