mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-03 06:47:19 -04:00
dir: Use ExtensionOf.runtime for apply_extra
Closes: #2954
Approved by: alexlarsson
(cherry picked from commit 9cd682b057)
Closes: #2992
Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
1ca31146d3
commit
cdc8d2deb5
@@ -7374,6 +7374,9 @@ apply_extra_data (FlatpakDir *self,
|
||||
|
||||
runtime = g_key_file_get_string (metakey, group,
|
||||
FLATPAK_METADATA_KEY_RUNTIME, error);
|
||||
if (runtime == NULL)
|
||||
runtime = g_key_file_get_string (metakey, FLATPAK_METADATA_GROUP_EXTENSION_OF,
|
||||
FLATPAK_METADATA_KEY_RUNTIME, NULL);
|
||||
if (runtime == NULL)
|
||||
return FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user