aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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