From f85865211ba474b49ef2befc1ee8ce0a01458512 Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Sun, 1 Oct 2017 21:18:30 +0200 Subject: [PATCH] [minor] add to post install script xdg-user-dirs-update --- meson_post_install.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson_post_install.py b/meson_post_install.py index bf320a9..53d242b 100644 --- a/meson_post_install.py +++ b/meson_post_install.py @@ -7,6 +7,9 @@ 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') +print('Update xdg dirs...') +subprocess.call(['xdg-user-dirs-update']); + if not os.environ.get('DESTDIR'): print('Update icon cache...') subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir])