Commit 3ec37af7 authored by AlmAck's avatar AlmAck

Refining the package replacement (part2)

parent 425efcc6
......@@ -94,6 +94,14 @@ void QueueOperation::start(AkabeiClient::PackageAction action, QList<Akabei::Pac
AkabeiClient::Backend::instance()->queue()->addPackage(pkg, action);
}
// do not check the other action types, only when we are updating
// we must verify if there are some new packages that replace
// an existing one
if (action == AkabeiClient::Update) {
out << QObject::tr("Calculating replacements...") << endl;
AkabeiClient::Backend::instance()->queue()->computeReplacements();
}
out << QObject::tr("Calculating dependencies...") << endl;
AkabeiClient::Backend::instance()->transactionHandler()->start(m_processingOptions);
......
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