summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-11-13 12:32:41 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2017-11-13 12:44:59 -0800
commitcddd3e2baa07e18ed26e7a40863db949b772b702 (patch)
tree63faad6ce60d7cf9356501ee9fc86d32142167d8 /app-backup
parentapp-backup/amanda: fix systemd perms. (diff)
downloadgentoo-cddd3e2baa07e18ed26e7a40863db949b772b702.tar.gz
gentoo-cddd3e2baa07e18ed26e7a40863db949b772b702.tar.bz2
gentoo-cddd3e2baa07e18ed26e7a40863db949b772b702.zip
app-backup/amanda: fix chown during USE=minimal
Fixes: https://bugs.gentoo.org/633828 Package-Manager: Portage-2.3.8, Repoman-2.3.3 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/amanda/amanda-3.5-r1.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/app-backup/amanda/amanda-3.5-r1.ebuild b/app-backup/amanda/amanda-3.5-r1.ebuild
index 7b97c5c5d9f..673a7b70dae 100644
--- a/app-backup/amanda/amanda-3.5-r1.ebuild
+++ b/app-backup/amanda/amanda-3.5-r1.ebuild
@@ -477,6 +477,7 @@ amanda_permissions_fix() {
for i in /usr/sbin/amcheck "${le}"/calcsize "${le}"/killpgrp \
"${le}"/rundump "${le}"/runtar "${le}"/dumper \
"${le}"/planner ; do
+ [ -e "${root}"/${i} ] || continue
chown root:${AMANDA_GROUP_NAME} "${root}"/${i} || die
chmod u=srwx,g=rx,o= "${root}"/${i} || die
done