[gnome-software/wip/ubuntu-3-22: 2/4] dpkg: Mark local .debs as managed by APT
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-3-22: 2/4] dpkg: Mark local .debs as managed by APT
- Date: Fri, 16 Jun 2017 01:51:22 +0000 (UTC)
commit c46fbb763da2355036111ec5ebb9b069109d380a
Author: Robert Ancell <robert ancell canonical com>
Date: Fri Apr 21 16:53:10 2017 +1200
dpkg: Mark local .debs as managed by APT
src/plugins/gs-plugin-dpkg.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-dpkg.c b/src/plugins/gs-plugin-dpkg.c
index 89f8bc2..f2da382 100644
--- a/src/plugins/gs-plugin-dpkg.c
+++ b/src/plugins/gs-plugin-dpkg.c
@@ -91,6 +91,7 @@ gs_plugin_file_to_app (GsPlugin *plugin,
app = gs_app_new (NULL);
gs_app_set_state (app, AS_APP_STATE_AVAILABLE_LOCAL);
gs_app_add_source (app, tokens[0]);
+ gs_app_set_management_plugin (app, "apt");
gs_app_set_name (app, GS_APP_QUALITY_LOWEST, tokens[0]);
gs_app_set_version (app, tokens[1]);
gs_app_set_size_installed (app, 1024 * g_ascii_strtoull (tokens[2], NULL, 10));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]