Bladeren bron

Force the target path, since the user can't install it anywhere else
anyway.


svn:r17020

Andrew Lewman 16 jaren geleden
bovenliggende
commit
9140866287
1 gewijzigde bestanden met toevoegingen van 1 en 6 verwijderingen
  1. 1 6
      contrib/polipo/PolipoPostflight

+ 1 - 6
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