diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-06-07 18:21:32 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-06-07 18:21:32 +0000 |
commit | fa140e878701ca1d37d38e588681827c57c04b73 (patch) | |
tree | fb3d39f2c11da359a26f7d5b78970110e327b258 /contrib/osx/TorPostflight | |
parent | 1a5c5452b4efc4d6fb2f882805fc6a0f9a50a2de (diff) | |
download | tor-fa140e878701ca1d37d38e588681827c57c04b73.tar.gz tor-fa140e878701ca1d37d38e588681827c57c04b73.zip |
Resolve OSX installer bugs 147 and 148
svn:r4333
Diffstat (limited to 'contrib/osx/TorPostflight')
-rw-r--r-- | contrib/osx/TorPostflight | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/osx/TorPostflight b/contrib/osx/TorPostflight index 36cc2a999f..0dd905110a 100644 --- a/contrib/osx/TorPostflight +++ b/contrib/osx/TorPostflight @@ -58,11 +58,10 @@ if [ ! -e /var/log/tor -o -L /var/log/tor ]; then ln -sf $LOGDIR tor fi -if [ ! -d /Library/StartupItems/Tor ]; then - mkdir -p /Library/StartupItems/Tor +if [ -d /Library/StartupItems/Tor ]; then + rm -f /Library/StartupItems/Tor/Tor.loc + echo "$TARGET" > /Library/StartupItems/Tor/Tor.loc fi -rm -f /Library/StartupItems/Tor/Tor.loc -echo "$TARGET" > /Library/StartupItems/Tor/Tor.loc if [ -d /Library/StartupItems/Privoxy ]; then find /Library/StartupItems/Privoxy -print0 | xargs -0 chown root:wheel |