forked from len0rd/rockbox
rbutil: Fix uninstall not updating install log.
Change-Id: Icd71f1a2de73d23c6580523de8c810b5a10a194b
This commit is contained in:
parent
37a60d5461
commit
fc38cd8215
1 changed files with 1 additions and 3 deletions
|
@ -101,15 +101,13 @@ void Uninstaller::uninstall(void)
|
||||||
dir.rmdir(dirList.at(j)); // rm works only on empty folders
|
dir.rmdir(dirList.at(j)); // rm works only on empty folders
|
||||||
}
|
}
|
||||||
// for speed reasons update log file only at the end.
|
// for speed reasons update log file only at the end.
|
||||||
installlog.beginGroup(uninstallSections.at(i));
|
|
||||||
for (const auto& file : deletedItems)
|
for (const auto& file : deletedItems)
|
||||||
{
|
{
|
||||||
installlog.remove(file);
|
installlog.remove(file);
|
||||||
}
|
}
|
||||||
installlog.endGroup();
|
|
||||||
|
|
||||||
|
installlog.remove("");
|
||||||
installlog.endGroup();
|
installlog.endGroup();
|
||||||
//installlog.removeGroup(uninstallSections.at(i))
|
|
||||||
}
|
}
|
||||||
uninstallSections.clear();
|
uninstallSections.clear();
|
||||||
installlog.sync();
|
installlog.sync();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue