Package Kit & pkgman: Split cleanup operations into a "cleanup" command.

And only inform that some can be deleted at the end of install/uninstall.

As discussed in https://review.haiku-os.org/c/haiku/+/10711.
This commit is contained in:
Augustin Cavalier
2026-04-27 16:29:33 -04:00
parent 3a9a7e2188
commit 4dd45837e9
6 changed files with 147 additions and 9 deletions
@@ -25,6 +25,7 @@ public:
time_t cleanupBefore, int32 minStatesToKeep);
virtual ~CleanUpAdminDirectoryRequest();
status_t GetOldStatesCount(size_t& count);
virtual status_t CreateInitialJobs();
private: