[packagekit] packagekit: Branch 'master' - 2 commits
Richard Hughes
hughsient at kemper.freedesktop.org
Fri Oct 26 00:04:11 PDT 2007
libpackagekit/pk-client.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 87b2c6e67bb8663e663482d024d26ad21a028738
Author: S.ÃaÄlar Onur <caglar at pardus.org.tr>
Date: Fri Oct 26 03:07:29 2007 +0300
Correct wrong PK_ROLE_ENUM_INSTALL_PACKAGE enum in pk_client_update_package function
diff --git a/libpackagekit/pk-client.c b/libpackagekit/pk-client.c
index 9ee5647..8404083 100644
--- a/libpackagekit/pk-client.c
+++ b/libpackagekit/pk-client.c
@@ -1615,7 +1615,7 @@ pk_client_update_package (PkClient *client, const gchar *package_id)
return FALSE;
}
/* save this so we can re-issue it */
- client->priv->role = PK_ROLE_ENUM_INSTALL_PACKAGE;
+ client->priv->role = PK_ROLE_ENUM_UPDATE_PACKAGE;
client->priv->xcached_package_id = g_strdup (package_id);
/* hopefully do the operation first time */
commit de158823c0d71b0dfcb06d49767b9c444dcba56a
Author: S.ÃaÄlar Onur <caglar at pardus.org.tr>
Date: Fri Oct 26 03:04:14 2007 +0300
Correct wrong pk_client_install_package_action call in pk_client_update_package function
diff --git a/libpackagekit/pk-client.c b/libpackagekit/pk-client.c
index 1ee48a6..9ee5647 100644
--- a/libpackagekit/pk-client.c
+++ b/libpackagekit/pk-client.c
@@ -1629,7 +1629,7 @@ pk_client_update_package (PkClient *client, const gchar *package_id)
pk_debug ("gained priv");
g_error_free (error);
/* do it all over again */
- ret = pk_client_install_package_action (client, package_id, &error);
+ ret = pk_client_update_package_action (client, package_id, &error);
}
}
if (error != NULL) {
More information about the PackageKit
mailing list