File: meson_post_install.py

package info (click to toggle)
gnome-settings-daemon 41.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 15,620 kB
  • sloc: ansic: 35,702; python: 1,377; xml: 533; sh: 96; makefile: 32; perl: 19
file content (11 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3

import os
import subprocess
import sys

if not os.environ.get('DESTDIR'):
  schemadir = os.path.join(sys.argv[1], 'glib-2.0', 'schemas')

  print('Compiling gsettings schemas...')
  subprocess.call(['glib-compile-schemas', schemadir])