[gnome-software/gnome-3-22] Add support for "+" operator at the end of SPDX license identifiers



commit 701936eeda7a3dd62e2f868e861424551f336e3a
Author: Kalev Lember <klember redhat com>
Date:   Sat Dec 31 16:34:00 2016 +0100

    Add support for "+" operator at the end of SPDX license identifiers
    
    Matching appstream-glib commit
    https://github.com/hughsie/appstream-glib/commit/ee450bd

 src/gs-shell-details.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index c843ec9..49a3f5c 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -1820,6 +1820,8 @@ gs_shell_details_license_free_cb (GtkWidget *widget, GsShellDetails *self)
                        continue;
                if (g_strcmp0 (tokens[i], "|") == 0)
                        continue;
+               if (g_strcmp0 (tokens[i], "+") == 0)
+                       continue;
 
                /* add widget */
                w = gs_shell_details_license_widget_for_token (self, tokens[i]);


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