[or-cvs] r17020: {tor} Force the target path, since the user can't install it anywh (tor/trunk/contrib/polipo)
phobos at seul.org
phobos at seul.org
Wed Oct 1 01:55:07 UTC 2008
Author: phobos
Date: 2008-09-30 21:55:07 -0400 (Tue, 30 Sep 2008)
New Revision: 17020
Modified:
tor/trunk/contrib/polipo/PolipoPostflight
Log:
Force the target path, since the user can't install it anywhere else
anyway.
Modified: tor/trunk/contrib/polipo/PolipoPostflight
===================================================================
--- tor/trunk/contrib/polipo/PolipoPostflight 2008-10-01 00:34:25 UTC (rev 17019)
+++ tor/trunk/contrib/polipo/PolipoPostflight 2008-10-01 01:55:07 UTC (rev 17020)
@@ -10,14 +10,9 @@
POLIPOUSER=_polipo
POLIPOGROUP=daemon
-TARGET=$2/Library/Polipo
+TARGET=/Library/Polipo
LOGDIR=$TARGET/log
-# Check defaults for TARGET
-if [ "$TARGET" == "//Library/Polipo" ]; then
- TARGET=/Library/Polipo
-fi
-
# Create user $POLIPOUSER in group daemon. If it's already there, great.
$ADDSYSUSER $POLIPOUSER "Polipo System user" $POLIPODIR
More information about the tor-commits
mailing list