diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:36:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:36:24 +0000 |
commit | 9b6d8e63db85c30007b463e91f91a791969fa83f (patch) | |
tree | 0899af51d73c1bf986f73ae39a03c4436083018a /build-aux/meson | |
parent | Initial commit. (diff) | |
download | gnome-control-center-9b6d8e63db85c30007b463e91f91a791969fa83f.tar.xz gnome-control-center-9b6d8e63db85c30007b463e91f91a791969fa83f.zip |
Adding upstream version 1:3.38.4.upstream/1%3.38.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build-aux/meson')
-rw-r--r-- | build-aux/meson/meson_post_install.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/build-aux/meson/meson_post_install.py b/build-aux/meson/meson_post_install.py new file mode 100644 index 0000000..f9119e1 --- /dev/null +++ b/build-aux/meson/meson_post_install.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python3 + +import os +import subprocess +import sys + +gsettingsschemadir = os.path.join(sys.argv[1], 'glib-2.0', 'schemas') +icondir = os.path.join(sys.argv[1], 'icons', 'hicolor') + +if not os.environ.get('DESTDIR'): + print('Compiling gsettings schemas...') + subprocess.call(['glib-compile-schemas', gsettingsschemadir]) + + print('Update icon cache...') + subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir]) |