diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2017-11-13 12:32:41 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2017-11-13 12:44:59 -0800 |
commit | cddd3e2baa07e18ed26e7a40863db949b772b702 (patch) | |
tree | 63faad6ce60d7cf9356501ee9fc86d32142167d8 /app-backup | |
parent | app-backup/amanda: fix systemd perms. (diff) | |
download | gentoo-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.ebuild | 1 |
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 7b97c5c5d9ff..673a7b70daee 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 |