aboutsummaryrefslogtreecommitdiff
path: root/tor-browser-dl
diff options
context:
space:
mode:
Diffstat (limited to 'tor-browser-dl')
-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