app-backup/bacula: Fix installation with USE=logwatch (bug #617918). Tnx A. Kochov.

New bacula treis to decide wether to install in old logwatch's /etc/log.d directory
or to newer /etc/logwatch but fails to do it correctly.
Adapt install path to gentoos logwatch default.

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Thomas Beierlein
2017-07-04 09:07:01 +02:00
parent 71182f8212
commit b214bb1bcb
2 changed files with 8 additions and 8 deletions

View File

@@ -272,10 +272,10 @@ src_install() {
# the logwatch scripts
if use logwatch; then
diropts -m0750
dodir /etc/log.d/scripts/services
dodir /etc/log.d/scripts/shared
dodir /etc/log.d/conf/logfiles
dodir /etc/log.d/conf/services
dodir /usr/share/logwatch/scripts/services
dodir /usr/share/logwatch/scripts/shared
dodir /etc/logwatch/conf/logfiles
dodir /etc/logwatch/conf/services
pushd "${S}"/scripts/logwatch >&/dev/null || die
emake DESTDIR="${D}" install
popd >&/dev/null || die

View File

@@ -272,10 +272,10 @@ src_install() {
# the logwatch scripts
if use logwatch; then
diropts -m0750
dodir /etc/log.d/scripts/services
dodir /etc/log.d/scripts/shared
dodir /etc/log.d/conf/logfiles
dodir /etc/log.d/conf/services
dodir /usr/share/logwatch/scripts/services
dodir /usr/share/logwatch/scripts/shared
dodir /etc/logwatch/conf/logfiles
dodir /etc/logwatch/conf/services
pushd "${S}"/scripts/logwatch >&/dev/null || die
emake DESTDIR="${D}" install
popd >&/dev/null || die