summaryrefslogtreecommitdiff
path: root/src/fr-command-unarchiver.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-06-07 15:09:47 +0200
committerinfirit <[email protected]>2014-06-07 15:09:47 +0200
commit383d22b8dc070377508d66a1750cb1f4da71e4aa (patch)
treef1f26f7c058c2e5a4426d6f5a06a3bd011bef26c /src/fr-command-unarchiver.c
parent9f89f99924934402c243cd15edce1ca47219b75c (diff)
downloadengrampa-383d22b8dc070377508d66a1750cb1f4da71e4aa.tar.bz2
engrampa-383d22b8dc070377508d66a1750cb1f4da71e4aa.tar.xz
Can't open file inside a .rar archive (with unar)
From file-roller commit a830397ab745bdfe2659f214b5384dc7ef5c76cf url: https://git.gnome.org/browse/file-roller/commit/?id=a830397ab745bdfe2659f214b5384dc7ef5c76cf This commit fixes engrampa issue #55
Diffstat (limited to 'src/fr-command-unarchiver.c')
-rw-r--r--src/fr-command-unarchiver.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fr-command-unarchiver.c b/src/fr-command-unarchiver.c
index 3e32f25..d13f468 100644
--- a/src/fr-command-unarchiver.c
+++ b/src/fr-command-unarchiver.c
@@ -199,8 +199,7 @@ fr_command_unarchiver_extract (FrCommand *comm,
else
fr_process_add_arg (comm->process, "-s");
- if (junk_paths)
- fr_process_add_arg (comm->process, "-D");
+ fr_process_add_arg (comm->process, "-D");
if ((comm->password != NULL) && (comm->password[0] != '\0'))
fr_process_add_arg_concat (comm->process, "-password=", comm->password, NULL);
@@ -306,7 +305,7 @@ fr_command_unarchiver_init (FrCommand *comm)
comm->propExtractCanAvoidOverwrite = TRUE;
comm->propExtractCanSkipOlder = FALSE;
- comm->propExtractCanJunkPaths = TRUE;
+ comm->propExtractCanJunkPaths = FALSE;
comm->propPassword = TRUE;
comm->propTest = FALSE;
comm->propListFromFile = FALSE;