Commit 603ab293 authored by Lisa's avatar Lisa

When checking if a system is up-to-date, also consider replacements.

parent a5fa0c10
......@@ -180,7 +180,7 @@ void QueueOperation::validationFinished(bool valid)
err << Akabei::errorPrefix << QObject::tr("The targets specified for the operation are not valid. Quitting...") << endl;
emit finished();
return;
} else if (m_action == AkabeiClient::Update && m_transaction->toBeUpgraded().isEmpty()) {
} else if (m_action == AkabeiClient::Update && m_transaction->toBeUpgraded().isEmpty() && m_transaction->toBeReplaced().isEmpty()) {
out << QObject::tr("System is up-to-date.") << endl;
emit finished();
return;
......
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