1 |
Author: zmedico |
2 |
Date: 2009-05-01 21:59:54 +0000 (Fri, 01 May 2009) |
3 |
New Revision: 13585 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.6/bin/misc-functions.sh |
7 |
Log: |
8 |
Bug #267175 - Instead of "poor code kills airplanes", say "install aborted |
9 |
due to poor programming practices shown above" in order to help the user |
10 |
link the die message to the related "poor programming practices" messages. |
11 |
Thanks to Jeremy Olexa <darkside@g.o> for the suggestion. (trunk r13584) |
12 |
|
13 |
Modified: main/branches/2.1.6/bin/misc-functions.sh |
14 |
=================================================================== |
15 |
--- main/branches/2.1.6/bin/misc-functions.sh 2009-05-01 21:59:43 UTC (rev 13584) |
16 |
+++ main/branches/2.1.6/bin/misc-functions.sh 2009-05-01 21:59:54 UTC (rev 13585) |
17 |
@@ -418,14 +418,16 @@ |
18 |
fi |
19 |
if [[ ${abort} == "yes" ]] ; then |
20 |
if [[ ${gentoo_bug} == "yes" ]] ; then |
21 |
- die "poor code kills airplanes" |
22 |
+ die "install aborted due to" \ |
23 |
+ "poor programming practices shown above" |
24 |
else |
25 |
echo "Please do not file a Gentoo bug and instead" \ |
26 |
"report the above QA issues directly to the upstream" \ |
27 |
"developers of this software." | fmt -w 70 | \ |
28 |
while read line ; do eqawarn "${line}" ; done |
29 |
eqawarn "Homepage: ${HOMEPAGE}" |
30 |
- hasq stricter ${FEATURES} && die "poor code kills airplanes" |
31 |
+ hasq stricter ${FEATURES} && die "install aborted due to" \ |
32 |
+ "poor programming practices shown above" |
33 |
fi |
34 |
fi |
35 |
fi |