[gnome-packagekit/gnome-2-30] Save the package lists to the specified directory, not the system default. Fixes rh#609531
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit/gnome-2-30] Save the package lists to the specified directory, not the system default. Fixes rh#609531
- Date: Tue, 20 Jul 2010 08:12:01 +0000 (UTC)
commit fba46ccfeaa5699507ded02363ed2a8923296efb
Author: Richard Hughes <richard hughsie com>
Date: Thu Jul 1 14:45:06 2010 +0100
Save the package lists to the specified directory, not the system default. Fixes rh#609531
src/gpk-service-pack.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-service-pack.c b/src/gpk-service-pack.c
index 9c02ea9..0878ef5 100644
--- a/src/gpk-service-pack.c
+++ b/src/gpk-service-pack.c
@@ -351,7 +351,7 @@ gpk_pack_copy_package_lists (const gchar *filename, GError **error)
/* convert to a file */
data = gpk_pack_package_array_to_string (array);
- ret = g_file_set_contents (PK_SYSTEM_PACKAGE_LIST_FILENAME, data, -1, &error_local);
+ ret = g_file_set_contents (filename, data, -1, &error_local);
if (!ret) {
g_set_error (error, 1, 0, _("Could not save to file: %s"), error_local->message);
g_error_free (error_local);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]