summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2022-04-17 22:31:40 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2022-04-17 23:21:19 +0200
commitfc38cd8215cf0b69aa9ab71cf6e1c5a68496fc3e (patch)
treec5875d97071a85253708d5fca2cd846c06ed3621
parent37a60d54619e957cbc3f7d9a49bd152f674df8e6 (diff)
downloadrockbox-fc38cd8215cf0b69aa9ab71cf6e1c5a68496fc3e.tar.gz
rockbox-fc38cd8215cf0b69aa9ab71cf6e1c5a68496fc3e.zip
rbutil: Fix uninstall not updating install log.
Change-Id: Icd71f1a2de73d23c6580523de8c810b5a10a194b
-rw-r--r--utils/rbutilqt/base/uninstall.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/rbutilqt/base/uninstall.cpp b/utils/rbutilqt/base/uninstall.cpp
index ea0ce31eed..db150b411c 100644
--- a/utils/rbutilqt/base/uninstall.cpp
+++ b/utils/rbutilqt/base/uninstall.cpp
@@ -101,15 +101,13 @@ void Uninstaller::uninstall(void)
101 dir.rmdir(dirList.at(j)); // rm works only on empty folders 101 dir.rmdir(dirList.at(j)); // rm works only on empty folders
102 } 102 }
103 // for speed reasons update log file only at the end. 103 // for speed reasons update log file only at the end.
104 installlog.beginGroup(uninstallSections.at(i));
105 for (const auto& file : deletedItems) 104 for (const auto& file : deletedItems)
106 { 105 {
107 installlog.remove(file); 106 installlog.remove(file);
108 } 107 }
109 installlog.endGroup();
110 108
109 installlog.remove("");
111 installlog.endGroup(); 110 installlog.endGroup();
112 //installlog.removeGroup(uninstallSections.at(i))
113 } 111 }
114 uninstallSections.clear(); 112 uninstallSections.clear();
115 installlog.sync(); 113 installlog.sync();