dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 2969d75158824bfaf0daa84d78caeceead52fbd7
parent 3bf444c4071d4160cbfcffbafcd4bf23e3817c04
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Sun,  8 Sep 2013 12:50:25 +0200

Added scripts to update, verify, unpack and launch the Tor Browser Bundle

Diffstat:
Abin/tor-browser-update.sh | 23+++++++++++++++++++++++
Abin/tor-browser.sh | 2++
2 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/bin/tor-browser-update.sh b/bin/tor-browser-update.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +# Optionally specify filename as command line argument + +if [[ -z "$1" ]]; then + FILENAME="tor-browser-gnu-linux-x86_64-2.4.17-beta-1-dev-en-US" +else + FILENAME=$1 +fi + +DIR="https://www.torproject.org/dist/torbrowser/linux/" + +TORFOLDER=~/tor +cd $TORFOLDER &&\ +echo "Attempting to download Tor Browser Bundle and signature" +TARGET=$DIR$FILENAME.tar.gz.asc +echo $TARGET +wget $TARGET &&\ +TARGET=$DIR$FILENAME.tar.gz +echo $TARGET +wget $TARGET &&\ +gpg --verify $FILENAME.tar.gz{.asc,} &&\ +tar xvfz $FILENAME.tar.gz diff --git a/bin/tor-browser.sh b/bin/tor-browser.sh @@ -0,0 +1,2 @@ +#!/bin/sh +~/tor/tor-browser_en-US/start-tor-browser