Respect packageRoot when uninstalling, not path()
This commit is contained in:
parent
8170075d8d
commit
ff721cf8ae
@ -56,8 +56,7 @@ KJob* PackageStructure::install(Package *package, const QString &archivePath, co
|
|||||||
KJob* PackageStructure::uninstall(Package *package, const QString &packageRoot)
|
KJob* PackageStructure::uninstall(Package *package, const QString &packageRoot)
|
||||||
{
|
{
|
||||||
PackageJob* j = new PackageJob(package->servicePrefix(), this);
|
PackageJob* j = new PackageJob(package->servicePrefix(), this);
|
||||||
kDebug() << "PS: " << package->path() << package->isValid();
|
j->uninstall(packageRoot + package->metadata().pluginName());
|
||||||
j->uninstall(package->path());
|
|
||||||
return j;
|
return j;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user