[gnome-software] Revert "Correctly set the filename as the source for dpkg files"
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Revert "Correctly set the filename as the source for dpkg files"
- Date: Mon, 25 Apr 2016 10:03:13 +0000 (UTC)
commit 68b561e18856adcfb65bc549e749cd5fec03f9c8
Author: Richard Hughes <richard hughsie com>
Date: Mon Apr 25 11:02:14 2016 +0100
Revert "Correctly set the filename as the source for dpkg files"
This reverts commit 76f41ec2a332a17fd65eb8b6b1bf8809264963ac.
src/plugins/gs-plugin-dpkg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-dpkg.c b/src/plugins/gs-plugin-dpkg.c
index bade68d..77f43b6 100644
--- a/src/plugins/gs-plugin-dpkg.c
+++ b/src/plugins/gs-plugin-dpkg.c
@@ -97,7 +97,7 @@ gs_plugin_file_to_app (GsPlugin *plugin,
/* create app */
app = gs_app_new (NULL);
gs_app_set_state (app, AS_APP_STATE_AVAILABLE_LOCAL);
- gs_app_add_source (app, g_file_get_path (file));
+ gs_app_add_source (app, tokens[0]);
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 * atoi (tokens[2]));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]