mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
15 lines
336 B
Python
15 lines
336 B
Python
|
|
#!/usr/bin/env python3
|
||
|
|
|
||
|
|
import os
|
||
|
|
import subprocess
|
||
|
|
import sys
|
||
|
|
|
||
|
|
datadir = sys.argv[1]
|
||
|
|
|
||
|
|
# Package managers set this so we don't need to run
|
||
|
|
if not os.environ.get('DESTDIR'):
|
||
|
|
schemadir = os.path.join(datadir, 'glib-2.0', 'schemas')
|
||
|
|
print('Compiling gsettings schemas...')
|
||
|
|
subprocess.call(['glib-compile-schemas', schemadir])
|
||
|
|
|