Compare commits

..

2 Commits

Author SHA1 Message Date
Automatic Release Builder
e084bd89e7 new version: 2017.1.2 2017-03-01 20:40:03 +01:00
James Turner
cfe9ddc2de Fix issues with package upgrades on Windows. 2017-02-23 13:27:02 +00:00
3 changed files with 7 additions and 2 deletions

View File

@@ -152,6 +152,11 @@ protected:
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()) {
Dir destDir(m_owner->path());
destDir.remove(true /* recursive */);

View File

@@ -477,7 +477,7 @@ void Root::installProgress(InstallRef aInstall, unsigned int aBytes, unsigned in
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");
} else {
d->updateDeque.pop_front();

View File

@@ -1 +1 @@
2017.2.0
2017.1.2