From 0f1f175de140cfc19784486601cac07ce3586724 Mon Sep 17 00:00:00 2001 From: David Boddie Date: Wed, 30 Jan 2019 00:00:14 +0100 Subject: [PATCH] Add postinstall code to update the desktop file database --- build-aux/meson/postinstall.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-aux/meson/postinstall.py b/build-aux/meson/postinstall.py index f39c172..bf964f5 100755 --- a/build-aux/meson/postinstall.py +++ b/build-aux/meson/postinstall.py @@ -11,3 +11,6 @@ destdir = environ.get('DESTDIR', '') if not destdir: print('Updating icon cache...') call(['gtk-update-icon-cache', '-qtf', path.join(datadir, 'icons', 'hicolor')]) + + print('Updating desktop database...') + call(['update-desktop-database', '-q', path.join(datadir, 'applications')])