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



commit 577b821726a959780ab61751c9c944e188ef0460
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 d10d482..c5dddf1 100644
--- a/src/plugins/gs-plugin-fedora-distro-upgrades.c
+++ b/src/plugins/gs-plugin-fedora-distro-upgrades.c
@@ -364,7 +364,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]