From: Zac Medico Date: Mon, 12 Mar 2007 23:42:16 +0000 (-0000) Subject: Make prepinfo remove installed info indexes recursively. Thanks to Christian Faulham... X-Git-Tag: v2.2_pre1~1586 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c7f27ae916e18fe7de73b76278a7e09d4ee1afd7;p=portage.git Make prepinfo remove installed info indexes recursively. Thanks to Christian Faulhammer for reporting (see bugs #162675 and #170133). svn path=/main/trunk/; revision=6205 --- 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}"