From 6709b8bc82e37a4db7eb319fedcc12a00b20d6cb Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Wed, 20 Jul 2016 20:02:35 +0200 Subject: [PATCH] Also scan "/usr/share/metainfo" for appdata. Recent iterations of the appstream specification recommend installing the appstream files in /usr/share/metainfo rather than /usr/share/appdata. For apps which may continue to install their appstream files according to the legacy standards, also keep /usr/share/appdata in the list of dirs to scan. --- tools/rpmdb2solv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/rpmdb2solv.c b/tools/rpmdb2solv.c index 3b1d41bd..7824fba7 100644 --- a/tools/rpmdb2solv.c +++ b/tools/rpmdb2solv.c @@ -208,6 +208,7 @@ main(int argc, char **argv) #ifdef ENABLE_APPDATA if (add_appdata) repo_add_appdata_dir(repo, "/usr/share/appdata", REPO_USE_ROOTDIR | REPO_REUSE_REPODATA | REPO_NO_INTERNALIZE | APPDATA_SEARCH_UNINTERNALIZED_FILELIST); + repo_add_appdata_dir(repo, "/usr/share/metainfo", REPO_USE_ROOTDIR | REPO_REUSE_REPODATA | REPO_NO_INTERNALIZE | APPDATA_SEARCH_UNINTERNALIZED_FILELIST); #endif repodata_internalize(data); -- 2.47.3