mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
Force the target path, since the user can't install it anywhere else
anyway. svn:r17020
This commit is contained in:
parent
ccede03cc0
commit
9140866287
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user