[or-cvs] Fixed //Library/Tor in Tor.loc for osx
phobos at seul.org
phobos at seul.org
Tue May 16 05:48:10 UTC 2006
Update of /home/or/cvsroot/tor/contrib/osx
In directory moria:/tmp/cvs-serv26891
Modified Files:
TorPostflight
Log Message:
Fixed //Library/Tor in Tor.loc for osx
Index: TorPostflight
===================================================================
RCS file: /home/or/cvsroot/tor/contrib/osx/TorPostflight,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -d -r1.10 -r1.11
--- TorPostflight 11 Mar 2006 06:13:08 -0000 1.10
+++ TorPostflight 16 May 2006 05:48:08 -0000 1.11
@@ -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
More information about the tor-commits
mailing list