Merge pull request #4722 from maximd/master
Fix issue synergy/synergy#4720
This commit is contained in:
commit
9487db1672
|
@ -194,13 +194,7 @@ QString PluginManager::getPluginUrl(const QString& pluginName)
|
||||||
process.start(program, args);
|
process.start(program, args);
|
||||||
bool success = process.waitForStarted();
|
bool success = process.waitForStarted();
|
||||||
|
|
||||||
if (!success || !process.waitForFinished())
|
bool isDeb = (success && process.waitForFinished() & (process.exitCode() == 0));
|
||||||
{
|
|
||||||
emit error(tr("Could not get Linux package type."));
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
bool isDeb = (process.exitCode() == 0);
|
|
||||||
|
|
||||||
int arch = getProcessorArch();
|
int arch = getProcessorArch();
|
||||||
if (arch == kProcessorArchLinux32) {
|
if (arch == kProcessorArchLinux32) {
|
||||||
|
|
Loading…
Reference in New Issue