diff options
author | Richard Hughes <richard@hughsie.com> | 2016-01-22 16:19:54 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-01-22 17:11:30 +0000 |
commit | 7ac5fbd0d94d0fd70ac3d59720ba2c2b98f9e746 (patch) | |
tree | 12bddfa109f79c34c5a62cdb1bb2f7ed24d9e61d /libappstream-builder | |
parent | 7972026fda210e8d8001df7ad2b11b8cb3bcd8b5 (diff) | |
download | appstream-glib-7ac5fbd0d94d0fd70ac3d59720ba2c2b98f9e746.tar.gz |
trivial: Remove support for old-style firmware GUIDS-as-IDs
Diffstat (limited to 'libappstream-builder')
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-appdata.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-appdata.c b/libappstream-builder/plugins/asb-plugin-appdata.c index 28a0d1c..de59a11 100644 --- a/libappstream-builder/plugins/asb-plugin-appdata.c +++ b/libappstream-builder/plugins/asb-plugin-appdata.c @@ -139,17 +139,6 @@ asb_plugin_process_filename (AsbPlugin *plugin, } } - /* add provide if missing */ - tmp = as_app_get_id (AS_APP (app)); - if (as_app_get_id_kind (AS_APP (app)) == AS_ID_KIND_FIRMWARE && - as_utils_guid_is_valid (tmp)) { - g_autoptr(AsProvide) provide = NULL; - provide = as_provide_new (); - as_provide_set_kind (provide, AS_PROVIDE_KIND_FIRMWARE_FLASHED); - as_provide_set_value (provide, tmp); - as_app_add_provide (AS_APP (app), provide); - } - /* check license */ tmp = as_app_get_metadata_license (AS_APP (app)); if (tmp == NULL) { |