summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2022-12-12 11:09:08 +0800
committerMarc Schiffbauer <mschiff@gentoo.org>2022-12-12 11:09:08 +0800
commitd177f676b26123262e0012dc71c22d2065034bd2 (patch)
treec28b09d2f3d0c267f21c03840d34f7c23b7944d4 /app-backup/bareos
parentRevert "app-backup/bareos: fix USE=clientonly install" (diff)
downloadgentoo-d177f676b26123262e0012dc71c22d2065034bd2.tar.gz
gentoo-d177f676b26123262e0012dc71c22d2065034bd2.tar.bz2
gentoo-d177f676b26123262e0012dc71c22d2065034bd2.zip
app-backup/bareos: fix USE=clientonly install
Closes: https://bugs.gentoo.org/885449 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-backup/bareos')
-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