[tbb-commits] [Git][tpo/applications/tor-browser-build][maint-13.0] Bug 40979: Add redirects from old linux filenames in .htaccess
richard (@richard)
git at gitlab.torproject.org
Sat Oct 14 05:54:12 UTC 2023
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/e0f0ec914af14a123212d3972ae1d6255d95df83
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/e0f0ec914af14a123212d3972ae1d6255d95df83
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20231014/a1071253/attachment-0001.htm>
More information about the tbb-commits
mailing list