[gnome-software/gnome-3-34] gs-flatpak.c: Fix permissions typo



commit c43fccc19c76f8444d60b48015c9903a8c6561e6
Author: David Hewitt <davidmhewitt gmail com>
Date:   Mon Sep 30 18:02:00 2019 +0000

    gs-flatpak.c: Fix permissions typo

 plugins/flatpak/gs-flatpak.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index c3087dd5..f9993cc1 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -136,7 +136,7 @@ perms_from_metadata (GKeyFile *keyfile)
                permissions |= GS_APP_PERMISSIONS_FILESYSTEM_FULL;
        else if (strv != NULL && g_strv_contains ((const gchar * const *)strv, "host:ro"))
                permissions |= GS_APP_PERMISSIONS_FILESYSTEM_READ;
-       if (strv != NULL && (g_strv_contains ((const gchar * const *)strv, "xdg-dowwnload") ||
+       if (strv != NULL && (g_strv_contains ((const gchar * const *)strv, "xdg-download") ||
                             g_strv_contains ((const gchar * const *)strv, "xdg-download:rw")))
                permissions |= GS_APP_PERMISSIONS_DOWNLOADS_FULL;
        else if (strv != NULL && g_strv_contains ((const gchar * const *)strv, "xdg-download:ro"))


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