aboutsummaryrefslogtreecommitdiff
path: root/contrib/polipo
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2008-10-01 01:55:07 +0000
committerAndrew Lewman <andrew@torproject.org>2008-10-01 01:55:07 +0000
commit914086628776bf915f7359a6486427c74391134a (patch)
tree030e4d6a2993796c57240191a7962c96f1484d71 /contrib/polipo
parentccede03cc045ae87b49bdcf3caaa943f7c07addb (diff)
downloadtor-914086628776bf915f7359a6486427c74391134a.tar
tor-914086628776bf915f7359a6486427c74391134a.tar.gz
Force the target path, since the user can't install it anywhere else
anyway. svn:r17020
Diffstat (limited to 'contrib/polipo')
-rw-r--r--contrib/polipo/PolipoPostflight7
1 files changed, 1 insertions, 6 deletions
diff --git a/contrib/polipo/PolipoPostflight b/contrib/polipo/PolipoPostflight
index a0510bdbd..0894caec6 100644
--- a/contrib/polipo/PolipoPostflight
+++ b/contrib/polipo/PolipoPostflight
@@ -10,14 +10,9 @@ fi
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