Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e084bd89e7 | ||
|
|
cfe9ddc2de |
@@ -152,6 +152,11 @@ protected:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// disable caching on the owner's path, otherwise the upcoming
|
||||||
|
// delete & rename confuse everything
|
||||||
|
m_owner->m_path.set_cached(false);
|
||||||
|
m_extractPath.set_cached(false);
|
||||||
|
|
||||||
if (m_owner->path().exists()) {
|
if (m_owner->path().exists()) {
|
||||||
Dir destDir(m_owner->path());
|
Dir destDir(m_owner->path());
|
||||||
destDir.remove(true /* recursive */);
|
destDir.remove(true /* recursive */);
|
||||||
|
|||||||
@@ -477,7 +477,7 @@ void Root::installProgress(InstallRef aInstall, unsigned int aBytes, unsigned in
|
|||||||
|
|
||||||
void Root::startNext(InstallRef aCurrent)
|
void Root::startNext(InstallRef aCurrent)
|
||||||
{
|
{
|
||||||
if (d->updateDeque.front() != aCurrent) {
|
if (d->updateDeque.empty() || (d->updateDeque.front() != aCurrent)) {
|
||||||
SG_LOG(SG_GENERAL, SG_ALERT, "current install of package not head of the deque");
|
SG_LOG(SG_GENERAL, SG_ALERT, "current install of package not head of the deque");
|
||||||
} else {
|
} else {
|
||||||
d->updateDeque.pop_front();
|
d->updateDeque.pop_front();
|
||||||
|
|||||||
Reference in New Issue
Block a user