[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 40979: Add redirects from old linux filenames in .htaccess



Title: GitLab

richard pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

  • 7eab1212
    by Nicolas Vigier at 2023-10-14T07:43:32+02:00
    Bug 40979: Add redirects from old linux filenames in .htaccess
    
    Add some redirects, to make old filenames work for torbrowser-launcher.
    

1 changed file:

Changes:

  • projects/release/build
    ... ... @@ -42,12 +42,18 @@ mkdir -p "$destdir"
    42 42
           "$destdir"/
    
    43 43
     [% END -%]
    
    44 44
     cd "$destdir"
    
    45
    -cat > .htaccess <<EOF
    
    45
    +cat > .htaccess <<'EOF'
    
    46 46
     RewriteEngine On
    
    47 47
     RewriteRule ^sha256sums.txt$ sha256sums-unsigned-build.txt
    
    48 48
     RewriteRule ^sha256sums.txt.asc$ sha256sums-unsigned-build.txt.asc
    
    49 49
     RewriteRule ^sha256sums.incrementals.txt$ sha256sums-unsigned-build.incrementals.txt
    
    50 50
     RewriteRule ^sha256sums.incrementals.txt.asc$ sha256sums-unsigned-build.incrementals.txt.asc
    
    51
    +[% IF c("var/tor-browser") -%]
    
    52
    +RewriteRule ^tor-browser-linux64-(.*)_ALL.tar.xz.asc$ tor-browser-linux-x86_64-$1.tar.xz.asc
    
    53
    +RewriteRule ^tor-browser-linux64-(.*)_ALL.tar.xz$ tor-browser-linux-x86_64-$1.tar.xz
    
    54
    +RewriteRule ^tor-browser-linux32-(.*)_ALL.tar.xz.asc$ tor-browser-linux-i686-$1.tar.xz.asc
    
    55
    +RewriteRule ^tor-browser-linux32-(.*)_ALL.tar.xz$ tor-browser-linux-i686-$1.tar.xz
    
    56
    +[% END -%]
    
    51 57
     EOF
    
    52 58
     
    
    53 59
     # empty any existing sh256sums file
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits