Skip to content

Commit

Permalink
Updated links for Fedora -- now we have a separate build for F33
Browse files Browse the repository at this point in the history
  • Loading branch information
gornostal committed Nov 22, 2020
1 parent b983e91 commit dc26ac1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions assets/js/releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jQuery(function($) {
function renderReleaseLinks (r) {
var dlIcon = '<i class="fas fa-download"></i> ';
$('#release-deb').html('<a href="' + r.assets.deb.url + '">' + dlIcon + r.assets.deb.name + '</a>');
if (r.assets.fedora32) {
if (r.assets.fedora33) {
$('#release-fedora').html(`<a class="asset-link" href="${r.assets.fedora.url}">${dlIcon}${r.assets.fedora.name}</a>
<a class="asset-link" href="${r.assets.fedora32.url}">${dlIcon}${r.assets.fedora32.name}</a>`);
<a class="asset-link" href="${r.assets.fedora33.url}">${dlIcon}${r.assets.fedora33.name}</a>`);
} else {
$('#release-fedora').html('<a href="' + r.assets.fedora.url + '">' + dlIcon + r.assets.fedora.name + '</a>');
}
Expand Down Expand Up @@ -116,11 +116,11 @@ jQuery(function($) {
var suse = getAssetLink(release.assets, 'suse.rpm');
var centos = getAssetLink(release.assets, 'centos7.rpm');
var fedora = getAssetLink(release.assets, 'fedora.rpm');
var fedora32 = getAssetLink(release.assets, 'fedora32.rpm');
var fedora33 = getAssetLink(release.assets, 'fedora33.rpm');
var deb = getAssetLink(release.assets, '.deb');

if ((fedora || fedora32) && deb) {
return { suse, centos, fedora, fedora32, deb };
if ((fedora || fedora33) && deb) {
return { suse, centos, fedora, fedora33, deb };
}
}

Expand Down

0 comments on commit dc26ac1

Please sign in to comment.