[gnome-software] appstream: Look for YAML files in /var/lib/app-info



commit 749c4eea395c786da92af7a0c279761c410df786
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Feb 22 14:49:58 2019 +0100

    appstream: Look for YAML files in /var/lib/app-info

 plugins/core/gs-plugin-appstream.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/plugins/core/gs-plugin-appstream.c b/plugins/core/gs-plugin-appstream.c
index ca4ba75e..c944733b 100644
--- a/plugins/core/gs-plugin-appstream.c
+++ b/plugins/core/gs-plugin-appstream.c
@@ -468,6 +468,8 @@ gs_plugin_appstream_check_silo (GsPlugin *plugin,
                                 g_build_filename ("/usr/share", "app-info", "xmls", NULL));
                g_ptr_array_add (parent_appstream,
                                 g_build_filename ("/usr/share", "app-info", "yaml", NULL));
+               g_ptr_array_add (parent_appstream,
+                                g_build_filename ("/var/lib", "app-info", "yaml", NULL));
                g_ptr_array_add (parent_appdata,
                                 g_build_filename ("/usr/share", "appdata", NULL));
                g_ptr_array_add (parent_appdata,


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