1 |
commit: 9e4b06838cef9a10468a6e3d220cc4f2154939e1 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 18:52:11 2012 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 18:52:11 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9e4b0683 |
7 |
|
8 |
install_qa_check: handle info dir rm failure |
9 |
|
10 |
This will fix bug #400679. |
11 |
|
12 |
--- |
13 |
bin/misc-functions.sh | 2 +- |
14 |
1 files changed, 1 insertions(+), 1 deletions(-) |
15 |
|
16 |
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh |
17 |
index 2c002cc..2614151 100755 |
18 |
--- a/bin/misc-functions.sh |
19 |
+++ b/bin/misc-functions.sh |
20 |
@@ -778,7 +778,7 @@ install_qa_check() { |
21 |
fi |
22 |
|
23 |
# Portage regenerates this on the installed system. |
24 |
- rm -f "${ED}"/usr/share/info/dir{,.gz,.bz2} |
25 |
+ rm -f "${ED}"/usr/share/info/dir{,.gz,.bz2} || die "rm failed!" |
26 |
|
27 |
if has multilib-strict ${FEATURES} && \ |
28 |
[[ -x /usr/bin/file && -x /usr/bin/find ]] && \ |