File: meson_install_schemas.py

package info (click to toggle)
cinnamon-control-center 6.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,700 kB
  • sloc: ansic: 35,915; xml: 136; python: 87; sh: 41; makefile: 21
file content (10 lines) | stat: -rwxr-xr-x 278 bytes parent folder | download | duplicates (23)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/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])