<div dir="ltr">Hi all,<div><br></div><div>We're working on a simplified download site for the Tor Browser on the www-team mailing list. Development is currently taking place on a GitHub repo <a href="https://github.com/wpapper/tor-download-web">here</a>, and the latest version of the site can be found <a href="https://wpapper.github.io/tor-download-web/">here</a>.</div>
<div><br></div><div>We are seeking to create a setup script which would allow the download site to be turned into a full-fledged download mirror. <span style="font-family:arial,sans-serif;font-size:13px">Ideally, someone can use git clone, run setup.sh, and have a working download mirror fully configured.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">The setup script should:</span></div><div><p dir="ltr" style="font-family:arial,sans-serif;font-size:13px">
1. Pull the contents of Tor’s website mirror (or even just dist/torbrowser if possible, since that's all we need)</p><p dir="ltr" style="font-family:arial,sans-serif;font-size:13px">2. Check the GPG keys to make sure that nothing has been modified</p>
<p dir="ltr" style="font-family:arial,sans-serif;font-size:13px">3. Move the download files into a mirror directory and update the URLs found in <a href="https://github.com/wpapper/tor-download-web/blob/master/js/thank-you.js">thank-you.js</a></p>
<p dir="ltr" style="font-family:arial,sans-serif;font-size:13px">4. Ensure that the mirror and the git repo will auto update using cron and will work across version numbers</p><p style="font-family:arial,sans-serif;font-size:13px">
Would someone be able to help us create this script using Bash? A very basic outline of the script can be found <a href="https://github.com/wpapper/tor-download-web/blob/master/setup.sh">here</a>.</p><p style="font-family:arial,sans-serif;font-size:13px">
Thank you for your help!</p><p style="font-family:arial,sans-serif;font-size:13px">Sincerely,</p><p style="font-family:arial,sans-serif;font-size:13px">Will Papper</p></div></div>