Commit 09cb2119 authored by Luca Giambonini's avatar Luca Giambonini

replaced 'installed' with 'replaced' string

parent 27f3880e
......@@ -51,11 +51,11 @@ PlainReplaceOperation::PlainReplaceOperation(Package *package, const QList<Packa
: Operation(package->name())
, d(new Private(package, replaces))
{
setPhase(Phase3); // Installation happens in phase 3.
setPriority(50); // Installation has a low priority.
setPhase(Phase3); // Replacement happens in phase 3.
setPriority(50); // Replacement has a low priority.
setCanBeConcurrent(false); // And it can not be concurrent.
setTargetVersion(package->version().toByteArray());
setDescription(QObject::tr("Replacing packages with %1...").arg(package->name()));//TODO: Give better description
setDescription(QObject::tr("Replacing packages with %1...").arg(package->name())); //TODO: Give better description
//Basically we replace our own package as well :)
QList<Package*> installed = Backend::instance()->localDatabase()->queryPackages(Queries::selectPackages("name", "=", d->package->name()));
......@@ -199,7 +199,7 @@ void PlainReplaceOperation::run()
delete p;
// Done!
log() << "installed " << d->package->name() << " (" << d->package->version().toByteArray() << ")" << Akabei::endlog;
log() << "replaced " << d->package->name() << " (" << d->package->version().toByteArray() << ")" << Akabei::endlog;
setProgress(100);
setFinished(true);
}
......
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