summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2022-12-12 10:56:18 +0800
committerMarc Schiffbauer <mschiff@gentoo.org>2022-12-12 10:58:30 +0800
commit022ae7af33dbe751813dcb7f133cc2931f98d00b (patch)
treec28b09d2f3d0c267f21c03840d34f7c23b7944d4 /app-backup
parentgnome-extra/libgda: Stabilize 5.2.9-r1 amd64, #885499 (diff)
downloadgentoo-022ae7af33dbe751813dcb7f133cc2931f98d00b.tar.gz
gentoo-022ae7af33dbe751813dcb7f133cc2931f98d00b.tar.bz2
gentoo-022ae7af33dbe751813dcb7f133cc2931f98d00b.zip
app-backup/bareos: fix USE=clientonly install
Closes: https://bugs.gentoo.org/841349 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/bareos/bareos-21.1.5-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-backup/bareos/bareos-21.1.5-r1.ebuild b/app-backup/bareos/bareos-21.1.5-r1.ebuild
index 1652a021f7bc..724051b6d17d 100644
--- a/app-backup/bareos/bareos-21.1.5-r1.ebuild
+++ b/app-backup/bareos/bareos-21.1.5-r1.ebuild
@@ -360,7 +360,10 @@ src_install() {
keepdir /var/lib/bareos
keepdir /var/lib/bareos/storage
- diropts -m0755 -o bareos -g bareos
+ # set log directory ownership
+ if ! use clientonly; then
+ diropts -m0755 -o bareos -g bareos
+ fi
keepdir /var/log/bareos
newtmpfiles "${FILESDIR}"/tmpfiles.d-bareos.conf bareos.conf