diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2022-12-12 10:56:18 +0800 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2022-12-12 10:58:30 +0800 |
commit | 022ae7af33dbe751813dcb7f133cc2931f98d00b (patch) | |
tree | c28b09d2f3d0c267f21c03840d34f7c23b7944d4 /app-backup | |
parent | gnome-extra/libgda: Stabilize 5.2.9-r1 amd64, #885499 (diff) | |
download | gentoo-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.ebuild | 5 |
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 |