From c7f27ae916e18fe7de73b76278a7e09d4ee1afd7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 12 Mar 2007 23:42:16 +0000 Subject: [PATCH] Make prepinfo remove installed info indexes recursively. Thanks to Christian Faulhammer for reporting (see bugs #162675 and #170133). svn path=/main/trunk/; revision=6205 --- bin/prepinfo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}" -- 2.26.2