From d177f676b26123262e0012dc71c22d2065034bd2 Mon Sep 17 00:00:00 2001 From: Marc Schiffbauer Date: Mon, 12 Dec 2022 11:09:08 +0800 Subject: app-backup/bareos: fix USE=clientonly install Closes: https://bugs.gentoo.org/885449 Signed-off-by: Marc Schiffbauer --- app-backup/bareos/bareos-21.1.5-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app-backup/bareos') 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 -- cgit v1.2.3-65-gdbad