[gnome-builder/wip/chergert/flatpak-repo] flatpak: include warning about old flatpak



commit baa58839eb0fedff6f8824f8934dd3afd0731b62
Author: Christian Hergert <chergert redhat com>
Date:   Tue Aug 24 11:17:04 2021 -0700

    flatpak: include warning about old flatpak

 src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c 
b/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
index dda483280..26f2a4466 100644
--- a/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
+++ b/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
@@ -1012,6 +1012,8 @@ resolve_extension (GPtrArray  *installations,
 #if FLATPAK_CHECK_VERSION(1, 11, 2)
   else
     flags |= FLATPAK_QUERY_FLAGS_ALL_ARCHES;
+#else
+# warning "Flatpak is too old, searching for alternate arches will not work"
 #endif
 
   strings = g_string_chunk_new (4096);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]