aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bacula
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-03-04 13:56:37 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-03-04 15:00:37 +0000
commit6d6f8b198b42a10291618eb49f10331e9fe05d7d (patch)
tree61dc0ff8749cd5dad2119b233eb5058ea2d7003b /testing/bacula
parent83fa369a43f81d3dbab1238262c75507c9724416 (diff)
downloadaports-6d6f8b198b42a10291618eb49f10331e9fe05d7d.tar.bz2
aports-6d6f8b198b42a10291618eb49f10331e9fe05d7d.tar.xz
testing/bacula: logrotate script added
Diffstat (limited to 'testing/bacula')
-rw-r--r--testing/bacula/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/bacula/APKBUILD b/testing/bacula/APKBUILD
index f68ce030c2..ecb9dbe238 100644
--- a/testing/bacula/APKBUILD
+++ b/testing/bacula/APKBUILD
@@ -79,7 +79,10 @@ package() {
install -Dm644 examples/sample-query.sql "$pkgdir"/etc/bacula/scripts/query.sql
mkdir -p "$pkgdir"/var/run/bacula
# Fix correct log dir
- sed -i -e 's%/var/bacula/log%/var/log/bacula%' $pkgdir/etc/bacula/bacula-dir.conf
+ sed -i -e 's%/var/bacula/log%/var/log/bacula%' "$pkgdir"/etc/bacula/bacula-dir.conf
+ # Install logrotate script
+ install -Dm644 scripts/logrotate $pkgdir/etc/logrotate.d/bacula
+ sed -i -e 's%/var/bacula/log%/var/log/bacula%' "$pkgdir"/etc/logrotate.d/bacula
}
md5sums="beb9f8da196b3c9ffb0356f087dbdb99 bacula-5.0.1.tar.gz