Commit a76c38a4 authored by Ramon Buldó's avatar Ramon Buldó Committed by GitHub

Merge pull request #151 from manjaro/fix_#150

Pacman 5.1 return nothing when uptodate
parents 5b8d1646 d60f1db3
......@@ -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