Commit fca8fa51 authored by Felipe Borges's avatar Felipe Borges

os-database: Only show supported architectures in "Download an OS"

Fixes #387
parent e51cb3c9
......@@ -124,6 +124,9 @@ private class Boxes.OSDatabase : GLib.Object {
if (media.url == null)
if (!(media.architecture in InstalledMedia.supported_architectures))
var eol = (os as Product).get_eol_date ();
if (eol == null || (eol) < 1)
after_list.append (media);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment