[PATCH master f14-branch 2/2] Don't complain about upgrading the same release (#620953)

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

 



When checking for the release allow equal versions to be upgraded.
---
 pyanaconda/installclasses/fedora.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/installclasses/fedora.py b/pyanaconda/installclasses/fedora.py
index 912d5e2..a2d9a97 100644
--- a/pyanaconda/installclasses/fedora.py
+++ b/pyanaconda/installclasses/fedora.py
@@ -121,7 +121,7 @@ class InstallClass(BaseInstallClass):
 
         # This line means we do not support upgrading from anything older
         # than two versions ago!
-        return newVer > oldVer and newVer - oldVer <= 2
+        return newVer >= oldVer and newVer - oldVer <= 2
 
     def __init__(self):
 	BaseInstallClass.__init__(self)
-- 
1.7.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux