diff options
-rw-r--r-- | testing/bacula/APKBUILD | 5 |
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 |