[gnome-boxes/gnome-3-28] Revert "os-database: Offer to download supported architectures-only"



commit 9a52f78020ac0e917b374b16a2cbdeac53266ee8
Author: Felipe Borges <felipeborges gnome org>
Date:   Wed May 9 11:44:19 2018 +0200

    Revert "os-database: Offer to download supported architectures-only"
    
    This reverts commit 3da3612792cda0de0e78ebd22f620ebf6e10a849.
    
    We need to figure a better way to filter off unsupported
    architectures.
    
    This was causing false positives.

 src/os-database.vala | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/os-database.vala b/src/os-database.vala
index b9ecc527..d636cae2 100644
--- a/src/os-database.vala
+++ b/src/os-database.vala
@@ -125,10 +125,8 @@ public async Os get_os_by_id (string id) throws OSDatabaseError {
                     continue;
 
                 var eol = (os as Product).get_eol_date ();
-                if ((eol == null || now.compare (eol) > 1) &&
-                    (media.architecture in InstalledMedia.supported_architectures)) {
+                if (eol == null || now.compare (eol) > 1)
                     after_list.append (media);
-                }
             }
         }
 


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