[gnome-software/wip/ubuntu-xenial] Revert "Correctly set the filename as the source for dpkg files"
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-xenial] Revert "Correctly set the filename as the source for dpkg files"
- Date: Tue, 26 Apr 2016 07:25:45 +0000 (UTC)
commit e5857bb346f4f09f9c4886bb50855ebdb384ef6b
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 5652747..acfd311 100644
--- a/src/plugins/gs-plugin-dpkg.c
+++ b/src/plugins/gs-plugin-dpkg.c
@@ -106,7 +106,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 (app, 1024 * atoi (tokens[2]));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]