[gnome-color-manager] Overwrite older files when we copy the new profile



commit d648e0744afe21896898d8880b0c85d73f0d9210
Author: Richard Hughes <richard hughsie com>
Date:   Sun Nov 1 12:46:14 2009 +0000

    Overwrite older files when we copy the new profile

 src/gcm-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-utils.c b/src/gcm-utils.c
index 0864e61..4b84d44 100644
--- a/src/gcm-utils.c
+++ b/src/gcm-utils.c
@@ -339,7 +339,7 @@ gcm_utils_mkdir_and_copy (const gchar *source, const gchar *destination, GError
 
 	/* do the copy */
 	egg_debug ("copying from %s to %s", source, path);
-	ret = g_file_copy (sourcefile, destfile, G_FILE_COPY_NONE, NULL, NULL, NULL, error);
+	ret = g_file_copy (sourcefile, destfile, G_FILE_COPY_OVERWRITE, NULL, NULL, NULL, error);
 	if (!ret)
 		goto out;
 out:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]