network/tor-browser: Updated for version 4.5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-05-01 09:49:37 +07:00
parent 77a8aea45d
commit 17cdbb2ee3
3 changed files with 9 additions and 9 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tor-browser
VERSION=${VERSION:-4.0.6}
VERSION=${VERSION:-4.5}
PRGLANG=${PRGLANG:-en-US}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

View file

@ -1,10 +1,10 @@
PRGNAM="tor-browser"
VERSION="4.0.6"
VERSION="4.5"
HOMEPAGE="https://www.torproject.org"
DOWNLOAD="https://www.torproject.org/dist/torbrowser/4.0.6/tor-browser-linux32-4.0.6_en-US.tar.xz"
MD5SUM="98c4312fc9d3c33840efc5f7dc598c1c"
DOWNLOAD_x86_64="https://www.torproject.org/dist/torbrowser/4.0.6/tor-browser-linux64-4.0.6_en-US.tar.xz"
MD5SUM_x86_64="3d52054784baf3c21f6be7e75cf3cb58"
DOWNLOAD="https://dist.torproject.org/torbrowser/4.5/tor-browser-linux32-4.5_en-US.tar.xz"
MD5SUM="7ebd99b2a4d47e88f5e80abb53884c3d"
DOWNLOAD_x86_64="https://dist.torproject.org/torbrowser/4.5/tor-browser-linux64-4.5_en-US.tar.xz"
MD5SUM_x86_64="039904005f6800233906fc046d0528c7"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"

View file

@ -4,7 +4,7 @@
# Copyright (C) 2012 Alessio Sergi <al3hex at gmail dot com>
# modified 2012 for tor-browser (Max Roder <maxroder at web dot de>)
# modified 2014 by Yardena Cohen <yardenack at gmail dot com>
# modified 2014 by Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# modified 2015 by Willy Sudiarto Raharjo <willysr@slackbuilds.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -52,7 +52,7 @@ update() {
\nCheck permissions of $INSTALL_DIRECTORY. \
\nThe error log can be found in $LOG_FILE."
[[ -f $INSTALL_DIRECTORY/start-tor-browser ]] && echo $VERSION > $VERSION_FILE
[[ -f $INSTALL_DIRECTORY/Browser/start-tor-browser ]] && echo $VERSION > $VERSION_FILE
}
usage() {
@ -108,4 +108,4 @@ else
fi
# start tor-browser
cd $INSTALL_DIRECTORY && ./start-tor-browser --class Tor\ Browser "${args[@]}"
cd $INSTALL_DIRECTORY/Browser && ./start-tor-browser --class Tor\ Browser "${args[@]}"