commit 18aa152d036bb44970dc2662fe81067eff8f9a70
parent 002d6ccc258de720b70c40edb12fbafb741eb1be
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 27 Nov 2013 14:39:56 +0100
Fixed error if ./Tor already exists
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/tor-browser-update.sh b/bin/tor-browser-update.sh
@@ -69,7 +69,8 @@ fi
BACKUPDATA=0
DATAFOLDER=$TORFOLDER/tor-browser_en-US/Data/Tor
if [ -e $DATAFOLDER ]; then
- cp -r $DATAFOLDER $TORFOLDER/
+ rm -r $TORFOLDER/Tor
+ cp -r $DATAFOLDER $TORFOLDER
BACKUPDATA=1
fi