[gnome-software/1357-improve-presentation-of-os-upgrade-banners] gs-plugin-fedora-pkgdb-collections: Increase system upgrade estimate download size to 2GB



commit e5915c78e6a96e95d79c90233570fb655d2f776e
Author: Milan Crha <mcrha redhat com>
Date:   Mon Aug 9 15:38:51 2021 +0200

    gs-plugin-fedora-pkgdb-collections: Increase system upgrade estimate download size to 2GB
    
    This will be shown in the GUI, thus have something closer to the reality
    at least in some cases.

 plugins/fedora-pkgdb-collections/gs-plugin-fedora-pkgdb-collections.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/fedora-pkgdb-collections/gs-plugin-fedora-pkgdb-collections.c 
b/plugins/fedora-pkgdb-collections/gs-plugin-fedora-pkgdb-collections.c
index e77665991..68ee7b9fe 100644
--- a/plugins/fedora-pkgdb-collections/gs-plugin-fedora-pkgdb-collections.c
+++ b/plugins/fedora-pkgdb-collections/gs-plugin-fedora-pkgdb-collections.c
@@ -284,7 +284,7 @@ _create_upgrade_from_info (GsPlugin *plugin, PkgdbItem *item)
                            _("Upgrade for the latest features, performance and stability improvements."));
        gs_app_set_version (app, app_version);
        gs_app_set_size_installed (app, 1024 * 1024 * 1024); /* estimate */
-       gs_app_set_size_download (app, 256 * 1024 * 1024); /* estimate */
+       gs_app_set_size_download (app, 2L * 1024L * 1024L * 1024L); /* estimate */
        gs_app_set_license (app, GS_APP_QUALITY_LOWEST, "LicenseRef-free");
        gs_app_add_quirk (app, GS_APP_QUIRK_NEEDS_REBOOT);
        gs_app_add_quirk (app, GS_APP_QUIRK_PROVENANCE);


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