blob: 3db748114138d3fd4f3e16f92e736ab6598ed9a8 (
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-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.cpp gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.cpp
--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.cpp 2012-04-06 10:07:29.000000000 -0300
+++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.cpp 2014-08-26 16:55:39.534735733 -0300
@@ -55,11 +55,8 @@
else if ( type == GP_COMPRESSED_RAR
|| type == GP_COMPRESSED_RAR_X )
{
- 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_rar;
}
else if ( type == GP_COMPRESSED_TAR
diff -Nur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.h gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.h
--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.h 2012-04-06 10:07:29.000000000 -0300
+++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.h 2014-08-26 16:52:58.903694500 -0300
@@ -102,7 +102,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);
PluginManager::register_filetype(GP_COMPRESSED_RAR_X, 1);
}
|