[gnome-software] fedora distro upgrades: Allow upgrading to EOL releases



commit 29c31add4c8f5a54d8689e39740a08071af30b29
Author: Kalev Lember <klember redhat com>
Date:   Tue Nov 22 23:58:47 2016 +0100

    fedora distro upgrades: Allow upgrading to EOL releases
    
    As Fedora only supports N+2 upgrades, we can't go directly to the newest
    non-EOL version; instead we can offer a newer EOL release so that they
    can get closer to being up to date, and then repeat again.
    
    Discussed in https://lists.fedoraproject.org/archives/list/devel lists fedoraproject 
org/message/XXA2TCSNAXCLJTOUO7BMQTAIEWK437JE/

 src/plugins/gs-plugin-fedora-distro-upgrades.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-fedora-distro-upgrades.c b/src/plugins/gs-plugin-fedora-distro-upgrades.c
index 82bb7bf..b2ab232 100644
--- a/src/plugins/gs-plugin-fedora-distro-upgrades.c
+++ b/src/plugins/gs-plugin-fedora-distro-upgrades.c
@@ -388,7 +388,7 @@ gs_plugin_add_distro_upgrades (GsPlugin *plugin,
 
                /* only interested in non-devel distros */
                if (!g_settings_get_boolean (settings, "show-upgrade-prerelease")) {
-                       if (distro_info->status != DISTRO_STATUS_ACTIVE)
+                       if (distro_info->status == DISTRO_STATUS_DEVEL)
                                continue;
                }
 


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