Commit 99fc0aba authored by Andrew Lewman's avatar Andrew Lewman
Browse files

OSX pre-install script to clean up Tor and force a fresh install, but

save the server keys if they exist.

parent a8152256
# TorPreFlight is invoked before the install begins
# Find the server keys, if they exist and save them, just in case
if [ -d /Library/Tor/var/lib/tor/keys ]; then
tar zcf ~/`date "+%Y-%m-%d"`-Tor-ServerKeys.backup.tar.gz /Library/Tor/var/lib/tor/keys
# Remove Tor and everything to do with it
if [ -f /Library/Tor/ ]; then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment