diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:17:06 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:17:06 +0000 |
commit | 744613caa871bccf3d490b11bfd6c16b180e79f7 (patch) | |
tree | dea28958854eba5e608bc718638214d2d2de7a81 /build-aux | |
parent | Initial commit. (diff) | |
download | gsettings-desktop-schemas-744613caa871bccf3d490b11bfd6c16b180e79f7.tar.xz gsettings-desktop-schemas-744613caa871bccf3d490b11bfd6c16b180e79f7.zip |
Adding upstream version 43.0.upstream/43.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | build-aux/meson/post-install.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build-aux/meson/post-install.py b/build-aux/meson/post-install.py new file mode 100755 index 0000000..162f26d --- /dev/null +++ b/build-aux/meson/post-install.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python3 + +import os +import subprocess +import sys + +datadir = sys.argv[1] + +# Packaging tools define DESTDIR and this isn't needed for them +if 'DESTDIR' not in os.environ: + print('Compiling GSettings schemas...') + subprocess.call(['glib-compile-schemas', + os.path.join(datadir, 'glib-2.0', 'schemas')]) |