richard pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build
Commits: e0f0ec91 by Nicolas Vigier at 2023-10-14T05:53:12+00: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:
- projects/release/build
Changes:
===================================== projects/release/build ===================================== @@ -42,12 +42,18 @@ mkdir -p "$destdir" "$destdir"/ [% END -%] cd "$destdir" -cat > .htaccess <<EOF +cat > .htaccess <<'EOF' RewriteEngine On RewriteRule ^sha256sums.txt$ sha256sums-unsigned-build.txt RewriteRule ^sha256sums.txt.asc$ sha256sums-unsigned-build.txt.asc RewriteRule ^sha256sums.incrementals.txt$ sha256sums-unsigned-build.incrementals.txt RewriteRule ^sha256sums.incrementals.txt.asc$ sha256sums-unsigned-build.incrementals.txt.asc +[% IF c("var/tor-browser") -%] +RewriteRule ^tor-browser-linux64-(.*)_ALL.tar.xz.asc$ tor-browser-linux-x86_64-$1.tar.xz.asc +RewriteRule ^tor-browser-linux64-(.*)_ALL.tar.xz$ tor-browser-linux-x86_64-$1.tar.xz +RewriteRule ^tor-browser-linux32-(.*)_ALL.tar.xz.asc$ tor-browser-linux-i686-$1.tar.xz.asc +RewriteRule ^tor-browser-linux32-(.*)_ALL.tar.xz$ tor-browser-linux-i686-$1.tar.xz +[% END -%] EOF
# empty any existing sh256sums file
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/e0...