瀏覽代碼

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


svn:r17020

Andrew Lewman 16 年之前
父節點
當前提交
9140866287
共有 1 個文件被更改,包括 1 次插入6 次删除
  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