From 9baad2f7d9221da56f41a98f6d2075a6b38f4f7c Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Wed, 30 Aug 2006 16:29:33 +0000 Subject: [PATCH] Use PORTAGE_{USER,GROUP} instead of hardcoded references to portage user/group, patch by grobian@gentoo.org. svn path=/main/branches/prefix/; revision=4376 --- bin/misc-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index bd9fd4015..03d008e0a 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -183,11 +183,11 @@ install_qa_check() { fi local find_log="${T}/find-portage-log" - find "${D}"/ -user portage -print0 > "${find_log}" + find "${D}"/ -user ${PORTAGE_USER:-portage} -print0 > "${find_log}" if [[ -s ${find_log} ]] ; then xargs -0 chown -h ${PORTAGE_INST_UID:-0} < "${find_log}" fi - find "${D}"/ -group portage -print0 > "${find_log}" + find "${D}"/ -group ${PORTAGE_GROUP:-portage} -print0 > "${find_log}" if [[ -s ${find_log} ]] ; then xargs -0 chgrp -h ${PORTAGE_INST_GID:-0} < "${find_log}" fi -- 2.26.2