Lights-Up/post_install.py
Felipe Escoto 233dea39bb init
2017-12-26 16:59:13 -06:00

10 lines
No EOL
294 B
Python

#!/usr/bin/env python3
import os
import subprocess
schemadir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 'glib-2.0', 'schemas')
if not os.environ.get('DESTDIR'):
print('Compiling gsettings schemas...')
subprocess.call(['glib-compile-schemas', schemadir], shell=False)