[gnome-software/wip/kalev/more-distro-upgrades: 5/9] Correctly pass down the distro upgrade version to PK
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/kalev/more-distro-upgrades: 5/9] Correctly pass down the distro upgrade version to PK
- Date: Mon, 15 Feb 2016 16:15:16 +0000 (UTC)
commit 5e5f1c5e0cd9d92ea2af29f9f793afbb5a037c37
Author: Kalev Lember <klember redhat com>
Date: Thu Feb 11 13:00:24 2016 +0100
Correctly pass down the distro upgrade version to PK
src/plugins/gs-plugin-packagekit-refine.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit-refine.c b/src/plugins/gs-plugin-packagekit-refine.c
index d393cb8..ef1ab35 100644
--- a/src/plugins/gs-plugin-packagekit-refine.c
+++ b/src/plugins/gs-plugin-packagekit-refine.c
@@ -781,7 +781,7 @@ gs_plugin_app_upgrade_download (GsPlugin *plugin,
/* ask PK to download enough packages to upgrade the system */
results = pk_client_upgrade_system (plugin->priv->client,
pk_bitfield_from_enums (PK_TRANSACTION_FLAG_ENUM_ONLY_DOWNLOAD,
-1),
- gs_app_get_id (app),
+ gs_app_get_version (app),
PK_UPGRADE_KIND_ENUM_COMPLETE,
cancellable,
gs_plugin_packagekit_progress_cb, &data,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]