tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

setup.sh (963B)


      1 #!/bin/bash
      2 # This Source Code Form is subject to the terms of the Mozilla Public
      3 # License, v. 2.0. If a copy of the MPL was not distributed with this
      4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      5 
      6 set -vex
      7 
      8 # Install the evolve extension
      9 # Mercurial will complain that it can't find the evolve extension - this is
     10 # because we don't have it yet, and we are asking mercurial to go install it
     11 # so mercurial can use it.
     12 hg clone https://repo.mercurial-scm.org/evolve/ "$HOME/.mozbuild/evolve"
     13 (
     14  cd "$HOME/.mozbuild/evolve"
     15  rev=$(hg tags | sort -k 1 -V -r | awk -F: 'NR==2 {print $2}')
     16  hg up "${rev}"
     17 )
     18 
     19 # Copy the system known_hosts to the home directory so we have uniformity with Windows
     20 # and the ssh command will find them in the same place.
     21 cp /etc/ssh/ssh_known_hosts "$HOME/ssh_known_hosts"
     22 
     23 # If poetry is not run as worker, then it won't work when run as user later.
     24 cd /builds/worker/updatebot
     25 /usr/local/bin/poetry install --no-ansi