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

anyway.


svn:r17020
This commit is contained in:
Andrew Lewman 2008-10-01 01:55:07 +00:00
parent ccede03cc0
commit 9140866287
1 changed files with 1 additions and 6 deletions

View 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