123456789101112131415161718192021222324252627282930 |
- 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);
- }
-
|