network/tor: Added mkdir of a missing folder.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-29 12:08:38 +02:00
parent 3551c85972
commit 46461f2a0c
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@
PRGNAM=tor
VERSION=${VERSION:-0.2.2.37}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Select tor's default user/group
@ -112,6 +112,7 @@ install -D -m 0755 $CWD/rc.tor $PKG/etc/rc.d/rc.tor.new
install -D -m 0755 contrib/torctl $PKG/usr/bin/torctl
install -D -m 0644 $CWD/torrc $PKG/etc/tor/torrc.new
mv $PKG/etc/tor/tor-tsocks.conf $PKG/etc/tor/tor-tsocks.conf.new
mkdir -p $PKG/etc/logrotate.d
sed -e "s,@USER@,$TOR_USER," -e "s,@GROUP@,$TOR_GROUP," $CWD/logrotate.tor \
> $PKG/etc/logrotate.d/tor.new