richard pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build
Commits:
-
e893fe92
by Nicolas Vigier at 2023-10-31T18:07:31+00:00
1 changed file:
Changes:
... | ... | @@ -11,6 +11,17 @@ RewriteRule ^sha256sums.txt.asc$ sha256sums-unsigned-build.txt.asc |
11 | 11 | RewriteRule ^sha256sums.incrementals.txt$ sha256sums-unsigned-build.incrementals.txt
|
12 | 12 | RewriteRule ^sha256sums.incrementals.txt.asc$ sha256sums-unsigned-build.incrementals.txt.asc
|
13 | 13 | EOF
|
14 | + |
|
15 | +# Adding redirects for tor-browser-build#40979
|
|
16 | +if is_project torbrowser; then
|
|
17 | + cat >> "$dist_dir/.htaccess" << 'EOF'
|
|
18 | +RewriteRule ^tor-browser-linux64-(.*)_ALL.tar.xz.asc$ tor-browser-linux-x86_64-$1.tar.xz.asc
|
|
19 | +RewriteRule ^tor-browser-linux64-(.*)_ALL.tar.xz$ tor-browser-linux-x86_64-$1.tar.xz
|
|
20 | +RewriteRule ^tor-browser-linux32-(.*)_ALL.tar.xz.asc$ tor-browser-linux-i686-$1.tar.xz.asc
|
|
21 | +RewriteRule ^tor-browser-linux32-(.*)_ALL.tar.xz$ tor-browser-linux-i686-$1.tar.xz
|
|
22 | +EOF
|
|
23 | +fi
|
|
24 | + |
|
14 | 25 | chgrp -R tb-release "$dist_dir"
|
15 | 26 | chmod 775 "$dist_dir"
|
16 | 27 | chmod 664 "$dist_dir"/*
|