Commit d18446ff authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa
Browse files

Use unrar instead of rar to list and extract RAR archives.

It means one more program dependency, but people are more used to this,
which was the way it worked until 4.2.

BUG: 195322

svn path=/trunk/KDE/kdeutils/ark/; revision=978892
parent 67c4d8ff
......@@ -49,7 +49,8 @@ ParameterList CliPlugin::parameterList() const
if (p.isEmpty()) {
p[CaptureProgress] = true;
p[ListProgram] = p[ExtractProgram] = p[DeleteProgram] = p[AddProgram] = "rar";
p[ListProgram] = p[ExtractProgram] = "unrar";
p[DeleteProgram] = p[AddProgram] = "rar";
p[ListArgs] = QStringList() << "v" << "-c-" << "$Archive";
p[ExtractArgs] = QStringList() << "-p-" << "$PreservePathSwitch" << "$PasswordSwitch" << "$RootNodeSwitch" << "$Archive" << "$Files";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment