[gnome-software] trivial: Wildcard match the alternates in gs-cmd



commit 432e4f7e05a14f8346a00489414e7a9745510515
Author: Richard Hughes <richard hughsie com>
Date:   Thu Sep 27 15:50:05 2018 +0100

    trivial: Wildcard match the alternates in gs-cmd

 lib/gs-cmd.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/lib/gs-cmd.c b/lib/gs-cmd.c
index abdfc3bb..d95c4a72 100644
--- a/lib/gs-cmd.c
+++ b/lib/gs-cmd.c
@@ -427,6 +427,7 @@ main (int argc, char **argv)
                }
        } else if (argc == 3 && g_strcmp0 (argv[1], "get-alternates") == 0) {
                app = gs_app_new (argv[2]);
+               gs_app_add_quirk (app, AS_APP_QUIRK_MATCH_ANY_PREFIX);
                for (i = 0; i < repeat; i++) {
                        g_autoptr(GsPluginJob) plugin_job = NULL;
                        if (list != NULL)


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