Commit d60f1db3 authored by Stéphane's avatar Stéphane Committed by GitHub

Pacman 5.1 return nothing when uptodate

parent 5b8d1646
......@@ -62,6 +62,5 @@ PacmanUtils::isSystemUpToDate()
return false;
}
return QString( process.readAll() ).split( "\n", QString::SkipEmptyParts ) ==
( QStringList() << ":: Starting full system upgrade..." );
return QString( process.readAll() ).trimmed().isEmpty();
}
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