mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-05 04:04:13 +02:00
main/bind: use relative dirs in scripts
In preperation for apk3's --force-no-chroot option
This commit is contained in:
parent
68ca743ce0
commit
0efcce45d2
2 changed files with 4 additions and 4 deletions
main/bind
|
@ -10,7 +10,7 @@ _ver=${pkgver%_p*}
|
|||
_p=${pkgver#*_p}
|
||||
_major=${pkgver%%.*}
|
||||
[ "$_p" != "$pkgver" ] && _ver="$_ver-P$_p"
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="The ISC DNS server"
|
||||
url="https://www.isc.org/"
|
||||
arch="all"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Generate key required for reload to work -> creates /etc/bind/rndc.key
|
||||
if ! [ -f /etc/bind/rndc.key ]; then
|
||||
rndc-confgen -a
|
||||
chown named:named /etc/bind/rndc.key
|
||||
if ! [ -f etc/bind/rndc.key ]; then
|
||||
rndc-confgen -a -c etc/bind/rndc.key
|
||||
chown named:named etc/bind/rndc.key
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue