diff options
author | Richard Hughes <richard@hughsie.com> | 2015-09-29 13:33:30 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-09-29 13:33:30 +0100 |
commit | 4786a0b7692e29568ea091f109dd2ebc51ae2b41 (patch) | |
tree | 3f1956b2b7903fc89760787c171bd90b343a708e | |
parent | 56b61abea965c94246c957637cc5814285bdf1d2 (diff) | |
download | appstream-glib-4786a0b7692e29568ea091f109dd2ebc51ae2b41.tar.gz |
trivial: Use keywords in local desktop files when using 'appstream-util search foo'
-rw-r--r-- | client/as-util.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/as-util.c b/client/as-util.c index 271ab81..0aa04d1 100644 --- a/client/as-util.c +++ b/client/as-util.c @@ -1281,7 +1281,11 @@ as_util_search (AsUtilPrivate *priv, gchar **values, GError **error) /* load system database */ store = as_store_new (); - if (!as_store_load (store, AS_STORE_LOAD_FLAG_APP_INFO_SYSTEM, NULL, error)) + if (!as_store_load (store, + AS_STORE_LOAD_FLAG_APP_INFO_SYSTEM | + AS_STORE_LOAD_FLAG_APPDATA | + AS_STORE_LOAD_FLAG_DESKTOP, + NULL, error)) return FALSE; apps = as_store_get_apps (store); for (i = 0; i < apps->len; i++) { |