diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-03-04 12:42:56 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-03-04 12:42:56 +0000 |
commit | d24b2569ff3a7687ed869a2d2d0dd0f38427fcd3 (patch) | |
tree | 409ad64ba95d5cc3ffe23277d1e96a5fa00c58c6 /testing | |
parent | d953a0ff60a3919eb863503f7bcbd02df759b37d (diff) | |
download | aports-d24b2569ff3a7687ed869a2d2d0dd0f38427fcd3.tar.bz2 aports-d24b2569ff3a7687ed869a2d2d0dd0f38427fcd3.tar.xz |
testing/bacula: fix logging dir
Diffstat (limited to 'testing')
-rw-r--r-- | testing/bacula/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/bacula/APKBUILD b/testing/bacula/APKBUILD index cb53a380b..f68ce030c 100644 --- a/testing/bacula/APKBUILD +++ b/testing/bacula/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena <rnalrd@gmail.com> pkgname="bacula" pkgver=5.0.1 -pkgrel=0 +pkgrel=1 pkgdesc="Enterprise ready, network based backup program" url="http://www.bacula.org" license="GPL2" @@ -43,7 +43,7 @@ build() { --infodir=/usr/share/info \ --with-pid-dir=/var/run \ --with-subsys-dir=/var/lock/subsys \ - --with-logdir=/var/log/bacula \ + --with-logdir=/var/log \ --enable-largefile \ --enable-smartalloc \ --disable-nls \ @@ -77,9 +77,9 @@ package() { "$pkgdir"/etc/conf.d/bacula-${DAEMON} done install -Dm644 examples/sample-query.sql "$pkgdir"/etc/bacula/scripts/query.sql - mkdir -p "$pkgdir"/var/log/bacula mkdir -p "$pkgdir"/var/run/bacula - mkdir -p "$pkgdir"/var/lib/bacula + # Fix correct log dir + sed -i -e 's%/var/bacula/log%/var/log/bacula%' $pkgdir/etc/bacula/bacula-dir.conf } md5sums="beb9f8da196b3c9ffb0356f087dbdb99 bacula-5.0.1.tar.gz |