[tor-commits] [tpo/master] make the linux download directory match the version

arma at torproject.org arma at torproject.org
Thu Mar 4 06:23:32 UTC 2021


commit 30f1d8ecf247bceaa4620272d6487efd72fcf84b
Author: Roger Dingledine <arma at torproject.org>
Date:   Thu Mar 4 01:22:08 2021 -0500

    make the linux download directory match the version
    
    i'm mostly just copying blindly from the windows section here,
    in whatever strange language this is. :)
    
    bug introduced when we let ourselves have a separate version for
    the linux tor browser, probably in commit d4a494a
---
 templates/hero-download.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/hero-download.html b/templates/hero-download.html
index 6af9247a..90924f44 100644
--- a/templates/hero-download.html
+++ b/templates/hero-download.html
@@ -26,6 +26,7 @@
           {% set sig_link = download_link + '.asc' %}
         {% else %}
           {% set t = bag('versions', 'torbrowser-linux-stable') %}
+          {% set download_prefix = '/dist/torbrowser/' + t.version + '/' %}
           {% set download_link = download_prefix + 'tor-browser-linux64-' + t.version + '_' + alt_l + '.tar.xz' %}
           {% set sig_link = download_link + '.asc' %}
         {% endif %}



More information about the tor-commits mailing list