diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index c28e5098..054db04b 100644 --- a/common/flatpak-dir.c +++ b/common/flatpak-dir.c @@ -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)