aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-11-04 11:33:23 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-11-04 11:33:23 -0200
commitd1ef9b03bc23f9a42529737b4fcf09d048dc2a65 (patch)
treee6183b5aa7f320ca9a57e610645d1a787f0d33d3
parent114d23381c9c92a607a76bb635797465056d90cb (diff)
downloadscripts-d1ef9b03bc23f9a42529737b4fcf09d048dc2a65.tar.gz
scripts-d1ef9b03bc23f9a42529737b4fcf09d048dc2a65.tar.bz2
Oops
-rwxr-xr-xtor-browser-dl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tor-browser-dl b/tor-browser-dl
index cfc72a9..4071d04 100755
--- a/tor-browser-dl
+++ b/tor-browser-dl
@@ -45,12 +45,12 @@ fi
mkdir -p $TEMP
# Download package
-if [ -e "$DL/$FILE" ]; then
+if [ ! -e "$DL/$FILE" ]; then
wget -c $BASE_URL/$FILE -O $DL/$FILE || exit 1
fi
# Download signature
-if [ -e "$DL/$SIGN" ]; then
+if [ ! -e "$DL/$SIGN" ]; then
wget -c $BASE_URL/$SIGN -O $DL/$SIGN || exit 1
fi