wireguard: ensure /etc/wireguard exists

wg-quick expects config files in /etc/wireguard by default.
This commit is contained in:
Piraty 2019-08-26 13:06:06 +02:00 committed by Leah Neukirchen
parent f30d4e87e0
commit 5644884208
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'wireguard'
pkgname=wireguard
version=0.0.20190702
revision=1
revision=2
wrksrc="WireGuard-${version}"
build_wrksrc="src/tools"
build_style=gnu-makefile
@ -28,6 +28,7 @@ post_install() {
wireguard-tools_package() {
short_desc+=" - tools"
depends="openresolv"
make_dirs="/etc/wireguard 0700 root root"
pkg_install() {
vmove usr/bin/wg
vmove usr/bin/wg-quick