summaryrefslogtreecommitdiff
path: root/build-aux/meson/post-install.py
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/meson/post-install.py')
-rw-r--r--build-aux/meson/post-install.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/build-aux/meson/post-install.py b/build-aux/meson/post-install.py
deleted file mode 100644
index b26c88a..0000000
--- a/build-aux/meson/post-install.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env python3
-
-import os
-import subprocess
-
-install_prefix = os.environ['MESON_INSTALL_PREFIX']
-icondir = os.path.join(install_prefix, 'share', 'icons', 'hicolor')
-schemadir = os.path.join(install_prefix, 'share', 'glib-2.0', 'schemas')
-
-if not os.environ.get('DESTDIR'):
- print('Update icon cache...')
- subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir])
-
- print('Compiling gsettings schemas...')
- subprocess.call(['glib-compile-schemas', schemadir])