mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-03 06:47:19 -04:00
Fix calculation of extra-data total size
This is a bug introduced inb03916f5bdwhere we check the extra_data refs against app/ or runtime/ prefix with arguments in the wrong order. (cherry picked from commited3ba39a06)
This commit is contained in:
@@ -4942,7 +4942,7 @@ flatpak_dir_setup_extra_data (FlatpakDir *self,
|
||||
g_assert (results == NULL || rev != NULL);
|
||||
|
||||
/* ostree-metadata and appstreams never have extra data, so ignore those */
|
||||
if (g_str_has_prefix ("app/", ref) || g_str_has_prefix ("runtime/", ref))
|
||||
if (g_str_has_prefix (ref, "app/") || g_str_has_prefix (ref, "runtime/"))
|
||||
{
|
||||
extra_data_sources = flatpak_repo_get_extra_data_sources (repo, rev, cancellable, NULL);
|
||||
if (extra_data_sources == NULL)
|
||||
|
||||
Reference in New Issue
Block a user