mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-08 06:31:50 +00:00
For safety, 'verify --fix' does not use swupd_rm() (like 'update') when deleting files, etc. Instead, each deleted entry is considered individually. So for the deletion step to work correctly with 'verify --fix', files contained within directories must be listed before the directories themselves. A simple solution is to make the manifest reverse filename sorted (opposite of the current filename sorted order). Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>