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)
|
||||
{
|
||||
PackageJob* j = new PackageJob(package->servicePrefix(), this);
|
||||
kDebug() << "PS: " << package->path() << package->isValid();
|
||||
j->uninstall(package->path());
|
||||
j->uninstall(packageRoot + package->metadata().pluginName());
|
||||
return j;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user