summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-11 16:10:05 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-11 16:10:05 (GMT)
commit56894c6c513d4b60091b5ac65a1afc8f4dff85d5 (patch)
tree52030431de9edb0839a993f0a96a1011bbf27366 /abs/core/mythtv
parent9c04fff12f59373af8582714b89a3fd3d18b4081 (diff)
downloadlinhes_pkgbuild-56894c6c513d4b60091b5ac65a1afc8f4dff85d5.zip
linhes_pkgbuild-56894c6c513d4b60091b5ac65a1afc8f4dff85d5.tar.gz
linhes_pkgbuild-56894c6c513d4b60091b5ac65a1afc8f4dff85d5.tar.bz2
certmaster, lighttpd,linhes-scripts,linhes-system,mythtv,xymon: fix logrotation
Diffstat (limited to 'abs/core/mythtv')
-rw-r--r--abs/core/mythtv/stable-0.25/mythtv/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
index c173e20..8937416 100644
--- a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
+++ b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
@@ -136,8 +136,10 @@ package() {
# make log dir
mkdir -p ${pkgdir}/var/log/mythtv
chown 1000.1000 ${pkgdir}/var/log/mythtv
- mkdir -p ${pkgdir}/etc/logrotate.d
- cp ${srcdir}/*.lr ${pkgdir}/etc/logrotate.d
+
+ install -m644 -D $srcdir/mythfrontend.lr $startdir/pkg/etc/logrotate.d/mythfrontend
+ install -m644 -D $srcdir/mythbackend.lr $startdir/pkg/etc/logrotate.d/mythbackend
+
mkdir -p ${pkgdir}/etc/cron.hourly/
install -m0755 ${srcdir}/pretty ${pkgdir}/etc/cron.hourly/
}