From: Emanuele Giaquinta Date: Wed, 30 Aug 2006 16:29:33 +0000 (-0000) Subject: Use PORTAGE_{USER,GROUP} instead of hardcoded references to portage user/group, patch... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9baad2f7d9221da56f41a98f6d2075a6b38f4f7c;p=portage.git Use PORTAGE_{USER,GROUP} instead of hardcoded references to portage user/group, patch by grobian@gentoo.org. svn path=/main/branches/prefix/; revision=4376 --- 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