blob: d9e583bbfda1098ab76b8f7020020841e60cf87a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
diff -Nur gloobus-preview-0.4.5.333.orig/src/plugin-compressed/plugin-compressed.cpp gloobus-preview-0.4.5.333/src/plugin-compressed/plugin-compressed.cpp
--- gloobus-preview-0.4.5.333.orig/src/plugin-compressed/plugin-compressed.cpp 2015-01-09 12:57:23.095971000 -0200
+++ gloobus-preview-0.4.5.333/src/plugin-compressed/plugin-compressed.cpp 2015-01-09 13:01:54.043323618 -0200
@@ -60,11 +60,8 @@
}
else if ( type == GP_COMPRESSED_RAR )
{
- cmd_args.push_back("unrar");
- cmd_args.push_back("vb");
- cmd_args.push_back("-c-");
- cmd_args.push_back("-p-"); // do not query for password
- cmd_args.push_back("--");
+ cmd_args.push_back("bsdtar");
+ cmd_args.push_back("-tf");
line_parser = &iCompressed::parse_line;
}
else if ( type == GP_COMPRESSED_TAR
diff -Nur gloobus-preview-0.4.5.333.orig/src/plugin-compressed/plugin-compressed.h gloobus-preview-0.4.5.333/src/plugin-compressed/plugin-compressed.h
--- gloobus-preview-0.4.5.333.orig/src/plugin-compressed/plugin-compressed.h 2015-01-09 12:57:23.095971000 -0200
+++ gloobus-preview-0.4.5.333/src/plugin-compressed/plugin-compressed.h 2015-01-09 13:02:22.060239355 -0200
@@ -125,7 +125,7 @@
PluginManager::register_filetype(GP_COMPRESSED_7Z, 1);
}
- if(interface::is_program_available("unrar")) {
+ if(interface::is_program_available("bsdtar")) {
PluginManager::register_filetype(GP_COMPRESSED_RAR, 1);
}
|