diff options
author | Badchay <badchay@protonmail.com> | 2022-11-12 11:15:02 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-12 11:15:02 +0700 |
commit | ebb382ba077e712e935abde33254166587cdfad7 (patch) | |
tree | 1f4193a5b214b3ae763aea910046d12f33218be1 /network/unbound/unbound.SlackBuild | |
parent | 6533958a9588710114031ff7152edba83a8796a4 (diff) |
network/unbound: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/unbound/unbound.SlackBuild')
-rw-r--r-- | network/unbound/unbound.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/unbound/unbound.SlackBuild b/network/unbound/unbound.SlackBuild index 21e073482c5b1..0845c98a051b4 100644 --- a/network/unbound/unbound.SlackBuild +++ b/network/unbound/unbound.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=unbound VERSION=${VERSION:-1.17.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -162,6 +162,7 @@ chown $UB_USER:$UB_GROUP $PKG/var/run/unbound/ chown $UB_USER:$UB_GROUP $PKG/var/log/unbound/ cp -a $CWD/unbound.logrotate $PKG/etc/logrotate.d/unbound.new +chown root:root $PKG/etc/logrotate.d/unbound.new mv $PKG/etc/unbound/unbound.conf $PKG/etc/unbound/unbound.conf.new install -m 0644 -D $CWD/rc.unbound $PKG/etc/rc.d/rc.unbound.new |