flatpak-dir: Add a debug message to remove_old_appstream_tmpdirs()

This should make it a bit clearer when `rm -rf` is being used in the
debug logs.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
(cherry picked from commit 6c7eb34dd6)
This commit is contained in:
Philip Withnall
2022-11-03 15:40:51 +00:00
committed by Simon McVittie
parent c8f3f0dc1a
commit ce9775e450

View File

@@ -4554,6 +4554,7 @@ remove_old_appstream_tmpdirs (GFile *dir)
tmp = g_file_get_child (dir, dent->d_name);
/* We ignore errors here, no need to worry anyone */
g_debug ("Deleting stale appstream deploy tmpdir %s", flatpak_file_get_path_cached (tmp));
(void)flatpak_rm_rf (tmp, NULL, NULL);
}
}