mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix move to .txz for linux binaries causing links on the previous releases page for linux binaries not working
This commit is contained in:
parent
14bcb87ae8
commit
b6579971b3
@ -445,7 +445,7 @@ def generate_index(): # {{{
|
|||||||
if osx:
|
if osx:
|
||||||
body.append('<dt>Apple Mac</dt><dd><a href="{0}" title="{1}">{1}</a></dd>'.format(
|
body.append('<dt>Apple Mac</dt><dd><a href="{0}" title="{1}">{1}</a></dd>'.format(
|
||||||
osx[0], 'OS X Disk Image (.dmg)'))
|
osx[0], 'OS X Disk Image (.dmg)'))
|
||||||
linux = [x for x in files if x.endswith('.txz')]
|
linux = [x for x in files if x.endswith('.txz') or x.endswith('tar.bz2')]
|
||||||
if linux:
|
if linux:
|
||||||
linux = ['<li><a href="{0}" title="{1}">{1}</a></li>'.format(
|
linux = ['<li><a href="{0}" title="{1}">{1}</a></li>'.format(
|
||||||
x, 'Linux 64-bit binary' if 'x86_64' in x else 'Linux 32-bit binary')
|
x, 'Linux 64-bit binary' if 'x86_64' in x else 'Linux 32-bit binary')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user