Skip to content

Commit fa73ac1

Browse files
MarcoFalkeharding
andcommitted
download: Remove i686 Linux links
Co-Authored-By: David A. Harding <[email protected]>
1 parent e8515fd commit fa73ac1

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

_data/binaries.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ win64zip: "win64.zip"
22
win64exe: "win64-setup.exe"
33
macdmg: "-osx.dmg"
44
mactar: "osx64.tar.gz"
5-
lin32: "i686-pc-linux-gnu.tar.gz"
65
lin64: "x86_64-linux-gnu.tar.gz"
76
riscv64: "riscv64-linux-gnu"

_includes/templates/download.html

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% capture /dev/null %}<!-- suppress render of this part -->
22
<!-- Copyright 2013 - 2016 The Bitcoin.org Project.
3-
Copyright 2017 - 2018 The BitcoinCore.org Project
3+
Copyright 2017 - 2020 The BitcoinCore.org Project
44
This file is licensed under the MIT License (MIT) available on
55
http://opensource.org/licenses/MIT. -->
66
{% assign VERSION_SORTED_RELEASES = site.releases | sort: 'release' | reverse %}
@@ -41,9 +41,7 @@ <h2>{{ page.latestversion }} {{CURRENT_RELEASE}} <a type="application/rss+xml" h
4141
<div>
4242
<img src="/assets/images/os/med_linux.png" alt="linux">
4343
<span>
44-
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ site.data.binaries.lin64 }}" id="downloadlin">Linux (tgz)</a>
45-
<span><a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ site.data.binaries.lin64 }}" class="dl" id="lin64">64 bit</a> -
46-
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ site.data.binaries.lin32 }}" class="dl" id="lin32">32 bit</a></span>
44+
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ site.data.binaries.lin64 }}" class="dl" id="lin64">Linux (tgz)</a>
4745
</span>
4846
</div>
4947
</div>
@@ -251,21 +249,16 @@ <h2 style="text-align: center">{{page.build_reproduction}}</h2>
251249
<script type="text/javascript">
252250
var os = 'windows64';
253251
if (navigator.userAgent.indexOf('Mac') != -1) var os = 'mac'
254-
else if (navigator.userAgent.indexOf('Linux') != -1) {
255-
var os='linux32';
256-
if (navigator.userAgent.indexOf('x86_64') != -1) var os = 'linux64';
257-
}
252+
else if (navigator.userAgent.indexOf('Linux') != -1) var os = 'linux64'
258253
else if (navigator.userAgent.indexOf('WOW64') != -1 || navigator.userAgent.indexOf('Win64') != -1) var os='windows64';
259254
var but = document.getElementById('downloadbutton');
260255
var linkwinexe = document.getElementById('downloadwinexe');
261256
var linkwinzip = document.getElementById('downloadwinzip');
262-
var linklin = document.getElementById('downloadlin');
263257
var hrefwin64exe = document.getElementById('win64exe').href;
264258
var hrefwin64zip = document.getElementById('win64zip').href;
265259
var hrefmacdmg = document.getElementById('macdmg').href;
266260
var hrefmactar = document.getElementById('mactar').href;
267261
var hreflin64 = document.getElementById('lin64').href;
268-
var hreflin32 = document.getElementById('lin32').href;
269262
switch (os) {
270263
case 'windows64':
271264
but.getElementsByTagName('IMG')[0].src = '/assets/images/os/but_windows.svg';
@@ -278,11 +271,6 @@ <h2 style="text-align: center">{{page.build_reproduction}}</h2>
278271
but.href = hreflin64;
279272
linklin.href = hreflin64;
280273
break;
281-
case 'linux32':
282-
but.getElementsByTagName('IMG')[0].src = '/assets/images/os/but_linux.png';
283-
but.href = hreflin32;
284-
linklin.href = hreflin32;
285-
break;
286274
case 'mac':
287275
but.getElementsByTagName('IMG')[0].src = '/assets/images/os/but_mac.svg';
288276
but.href = hrefmacdmg;

0 commit comments

Comments
 (0)