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

View File

@ -10,14 +10,9 @@ fi
POLIPOUSER=_polipo POLIPOUSER=_polipo
POLIPOGROUP=daemon POLIPOGROUP=daemon
TARGET=$2/Library/Polipo TARGET=/Library/Polipo
LOGDIR=$TARGET/log 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. # Create user $POLIPOUSER in group daemon. If it's already there, great.
$ADDSYSUSER $POLIPOUSER "Polipo System user" $POLIPODIR $ADDSYSUSER $POLIPOUSER "Polipo System user" $POLIPODIR