1
0
Fork 0
forked from len0rd/rockbox

rbutil: Fix uninstall not updating install log.

Change-Id: Icd71f1a2de73d23c6580523de8c810b5a10a194b
This commit is contained in:
Dominik Riebeling 2022-04-17 22:31:40 +02:00
parent 37a60d5461
commit fc38cd8215

View file

@ -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();