From: Zac Medico Date: Tue, 13 Mar 2007 06:58:59 +0000 (-0000) Subject: Make prepinfo remove installed info indexes recursively. Thanks to Christian Faulham... X-Git-Tag: v2.1.2.3~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff3ce9b8eef9dd816b9985f48ebcff90b711a0b5;p=portage.git Make prepinfo remove installed info indexes recursively. Thanks to Christian Faulhammer for reporting (see bugs #162675 and #170133). (trunk r6204:6205) svn path=/main/branches/2.1.2/; revision=6206 --- diff --git a/bin/prepinfo b/bin/prepinfo index 2d3c80e08..ff1c6a88a 100755 --- a/bin/prepinfo +++ b/bin/prepinfo @@ -24,6 +24,8 @@ if [[ ! -d ${D}${infodir} ]] ; then fi fi -rm -f "${D}${infodir}"/dir{,.info}{,.gz,.bz2} +find "${D}${infodir}" -type d -print0 | while read -d $'\0' x ; do + rm -f "${x}"/dir{,.info}{,.gz,.bz2} +done exec ecompressdir "${infodir}"