aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-02-01 18:52:11 (GMT)
committerZac Medico <zmedico@gentoo.org>2012-02-01 18:52:11 (GMT)
commit9e4b06838cef9a10468a6e3d220cc4f2154939e1 (patch)
treeba715a887c7a8a94c540cf8e073e01881b5683c8
parentLinkageMapELF: handle null bytes in NEEDED.ELF.2 (diff)
downloadportage-9e4b06838cef9a10468a6e3d220cc4f2154939e1.zip
portage-9e4b06838cef9a10468a6e3d220cc4f2154939e1.tar.gz
portage-9e4b06838cef9a10468a6e3d220cc4f2154939e1.tar.bz2
install_qa_check: handle info dir rm failure
This will fix bug #400679.
-rwxr-xr-xbin/misc-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 2c002cc..2614151 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 ]] && \