From fb2b49141c7c84f46a4b2090109124b6a2f59d29 Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 21 Nov 2014 15:51:23 +0100 Subject: use local_copy instead of command->filename to check file existence Based on FR commit: 77b2f368b8ab02267dc94bb70e7db16f37bbe252 From: Paolo Bacchilega --- src/fr-archive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/fr-archive.c b/src/fr-archive.c index abe5dc3..bae1557 100644 --- a/src/fr-archive.c +++ b/src/fr-archive.c @@ -1628,7 +1628,7 @@ fr_archive_add (FrArchive *archive, return; } - archive->command->creating_archive = ! g_file_test (archive->command->filename, G_FILE_TEST_EXISTS); + archive->command->creating_archive = ! g_file_query_exists (archive->local_copy, NULL); fr_command_uncompress (archive->command); -- cgit v1.2.1