From: Zac Medico Date: Wed, 1 Feb 2012 18:52:11 +0000 (-0800) Subject: install_qa_check: handle info dir rm failure X-Git-Tag: v2.2.0_alpha85~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9e4b06838cef9a10468a6e3d220cc4f2154939e1;p=portage.git install_qa_check: handle info dir rm failure This will fix bug #400679. --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 2c002cc95..261415150 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -778,7 +778,7 @@ install_qa_check() { fi # Portage regenerates this on the installed system. - rm -f "${ED}"/usr/share/info/dir{,.gz,.bz2} + rm -f "${ED}"/usr/share/info/dir{,.gz,.bz2} || die "rm failed!" if has multilib-strict ${FEATURES} && \ [[ -x /usr/bin/file && -x /usr/bin/find ]] && \