mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/tor: Fix missing log dir in Tor
The pacakge now creates /var/log/tor automatically. Without this Tor failed to start and didn't give any error message.
This commit is contained in:
parent
e5f9625003
commit
3e8254d137
@ -2,7 +2,7 @@
|
||||
# Maintainer: Sam Dodrill <shadow.h511@gmail.com>
|
||||
pkgname=tor
|
||||
pkgver=0.2.7.6
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Anonymous network connectivity"
|
||||
url="https://www.torproject.org"
|
||||
arch="all"
|
||||
@ -47,6 +47,7 @@ package() {
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
mkdir -p "$pkgdir"/var/lib/$pkgname
|
||||
mkdir -p "$pkgdir"/var/log/$pkgname
|
||||
chown $pkgusers "$pkgdir"/var/lib/$pkgname
|
||||
install -m755 -D "$srcdir"/$pkgname.initd \
|
||||
"$pkgdir"/etc/init.d/$pkgname || return 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user