]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Force the target path, since the user can't install it anywhere else
authorAndrew Lewman <andrew@torproject.org>
Wed, 1 Oct 2008 01:55:07 +0000 (01:55 +0000)
committerAndrew Lewman <andrew@torproject.org>
Wed, 1 Oct 2008 01:55:07 +0000 (01:55 +0000)
anyway.

svn:r17020

contrib/polipo/PolipoPostflight

index a0510bdbd64ee2fb0827af446b77dc0b71ece724..0894caec6c48ce7bf261eaf686a67a77524ec7bd 100644 (file)
@@ -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