mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-04 18:29:26 +00:00
7144e756e5
early on any error + anticipate that some tools can't be installed by now, but we still want the test to return success to satisfy travis-ci
9 lines
344 B
Bash
Executable file
9 lines
344 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
REL_PATH=$(curl https://www.torproject.org/projects/torbrowser.html.en#downloads | grep -i tor-browser-linux | grep hardened | grep td | sed -e 's/.*href="//' -e 's/">.*//')
|
|
wget https://www.torproject.org/projects/$REL_PATH -O - | tar xvJ
|
|
|
|
mkdir -p bin
|
|
cd bin
|
|
ln -s ../tor-browser/start-tor-browser.desktop tor-browser
|
|
cd ..
|