summaryrefslogtreecommitdiff
path: root/src/fr-command-tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command-tar.c')
-rw-r--r--src/fr-command-tar.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c
index 27deafa..ed63edb 100644
--- a/src/fr-command-tar.c
+++ b/src/fr-command-tar.c
@@ -866,11 +866,7 @@ fr_command_tar_uncompress (FrCommand *comm)
c_tar->uncomp_filename = NULL;
}
- {
- char *uri = g_filename_to_uri (comm->filename, NULL, NULL);
- archive_exists = uri_exists (uri);
- g_free (uri);
- }
+ archive_exists = ! comm->creating_archive;
c_tar->name_modified = ! is_mime_type (comm->mime_type, "application/x-tar");
if (c_tar->name_modified) {