[tbb-commits] [Git][tpo/applications/tor-browser-build][main] Bug 40979: Add redirects from old linux filenames in .htaccess
richard (@richard)
git at gitlab.torproject.org
Sat Oct 14 05:51:50 UTC 2023
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/7eab1212d10a28ea662a501fdcc3c472ff5718a8
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/7eab1212d10a28ea662a501fdcc3c472ff5718a8
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/449d08dc/attachment-0001.htm>
More information about the tbb-commits
mailing list