[gnome-text-editor] build: update desktop database last



commit e43bdf1b4e6463dd95ee0978765f49377f3934a6
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 21 15:09:14 2021 -0700

    build: update desktop database last
    
    In case we have a system where this doesn't exist, things still mostly work

 build-aux/meson/postinstall.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/build-aux/meson/postinstall.py b/build-aux/meson/postinstall.py
index 6a3ea97..bec178d 100755
--- a/build-aux/meson/postinstall.py
+++ b/build-aux/meson/postinstall.py
@@ -12,10 +12,10 @@ 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')])
-
     print('Compiling GSettings schemas...')
     call(['glib-compile-schemas', path.join(datadir, 'glib-2.0', 'schemas')])
 
+    print('Updating desktop database...')
+    call(['update-desktop-database', '-q', path.join(datadir, 'applications')])
+
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]