diff options
author | Andrew Lewman <andrew@torproject.org> | 2006-05-16 05:48:08 +0000 |
---|---|---|
committer | Andrew Lewman <andrew@torproject.org> | 2006-05-16 05:48:08 +0000 |
commit | f6c9741c839528bb6834ad1be66d177bd92763f4 (patch) | |
tree | 639fe2312760dfc8e2e3f1ce1450b0daa05285bc /contrib/osx/TorPostflight | |
parent | f7ba9d77e4bd697ec805d8eb2d145126baecf14c (diff) | |
download | tor-f6c9741c839528bb6834ad1be66d177bd92763f4.tar.gz tor-f6c9741c839528bb6834ad1be66d177bd92763f4.zip |
Fixed //Library/Tor in Tor.loc for osx
svn:r6454
Diffstat (limited to 'contrib/osx/TorPostflight')
-rw-r--r-- | contrib/osx/TorPostflight | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/osx/TorPostflight b/contrib/osx/TorPostflight index d1efd726cc..cd49924947 100644 --- a/contrib/osx/TorPostflight +++ b/contrib/osx/TorPostflight @@ -14,6 +14,11 @@ TARGET=$2/Library/Tor TORDIR=$TARGET/var/lib/tor LOGDIR=$TARGET/var/log/tor +# Check defaults for TARGET +if [ "$TARGET" == "//Library/Tor" ]; then + TARGET=/Library/Tor +fi + # Create user $TORUSER in group daemon. If it's already there, great. $ADDSYSUSER $TORUSER "Tor System user" $TORDIR |