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:
- 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/7e...
tor-commits@lists.torproject.org