aboutsummaryrefslogtreecommitdiffstats
path: root/community/tvheadend
diff options
context:
space:
mode:
Diffstat (limited to 'community/tvheadend')
-rw-r--r--community/tvheadend/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/tvheadend/APKBUILD b/community/tvheadend/APKBUILD
index 322ac5756a..1ecaa44c69 100644
--- a/community/tvheadend/APKBUILD
+++ b/community/tvheadend/APKBUILD
@@ -45,10 +45,12 @@ package() {
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
- install -m755 -D "$srcdir"/$pkgname.confd \
+ install -m755 -D -o $pkgname -g $pkgname "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname || return 1
- install -d -o $pkgname -g $pkgname \
- "$pkgdir/etc/$pkgname" || return 1
+ # /usr/bin/install seems to fail to apply ownership
+ # when running from abuild on aarch64
+ mkdir -p "$pkgdir"/etc/"$pkgname" || return 1
+ chown "$pkgusers:$pkggroups" "$pkgdir/etc/$pkgname" || return 1
}
dvb_scan() {