aboutsummaryrefslogtreecommitdiff
path: root/contrib/osx/TorPreFlight
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2006-07-27 03:02:47 +0000
committerAndrew Lewman <andrew@torproject.org>2006-07-27 03:02:47 +0000
commit8ae177dad68a1ddd1404dfd663ddfb25f2689fd6 (patch)
tree48cb7f34b081c7e81081e29f4e3c94a203c69b6b /contrib/osx/TorPreFlight
parentcd45eb6175db6ad5b2f959bbe9591f120dcdb77a (diff)
downloadtor-8ae177dad68a1ddd1404dfd663ddfb25f2689fd6.tar.gz
tor-8ae177dad68a1ddd1404dfd663ddfb25f2689fd6.zip
The whole process works from preflight to postflight creating a clean
Tor install with proper config file edits svn:r6914
Diffstat (limited to 'contrib/osx/TorPreFlight')
-rw-r--r--contrib/osx/TorPreFlight4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/osx/TorPreFlight b/contrib/osx/TorPreFlight
index f2cd95acf4..3a3187fc9e 100644
--- a/contrib/osx/TorPreFlight
+++ b/contrib/osx/TorPreFlight
@@ -13,14 +13,12 @@ echo $TORPATH
# Backup all of Tor, just in case
if [ -d $TORPATH ]; then
- tar zcf ~/`date "+%Y-%m-%d"`-Tor.backup.tar.gz $TORPATH/var/lib/tor/ $TORPATH/torrc
- echo `date "+%Y-%m-%d"`-Tor.backup.tar.gz > ~/TorSavedMe
+ tar zcf /tmp/TorSavedMe.tar.gz $TORPATH/var/lib/tor $TORPATH/torrc
fi
# Remove Tor and everything to do with it
if [ -f $TORPATH/uninstall_tor_bundle.sh ]; then
$TORPATH/uninstall_tor_bundle.sh
- echo "You made it to the uninstaller"
else
$PACKAGE_PATH/Contents/Resources/uninstall_tor_bundle.sh
fi