diff options
author | Andrew Lewman <andrew@torproject.org> | 2008-10-01 01:55:07 +0000 |
---|---|---|
committer | Andrew Lewman <andrew@torproject.org> | 2008-10-01 01:55:07 +0000 |
commit | 914086628776bf915f7359a6486427c74391134a (patch) | |
tree | 030e4d6a2993796c57240191a7962c96f1484d71 /contrib | |
parent | ccede03cc045ae87b49bdcf3caaa943f7c07addb (diff) | |
download | tor-914086628776bf915f7359a6486427c74391134a.tar.gz tor-914086628776bf915f7359a6486427c74391134a.zip |
Force the target path, since the user can't install it anywhere else
anyway.
svn:r17020
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/polipo/PolipoPostflight | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/contrib/polipo/PolipoPostflight b/contrib/polipo/PolipoPostflight index a0510bdbd6..0894caec6c 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 |