1 |
commit: 50fd0e9ae91c7d953278eaba90716e7f5fa4ebb4 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 13 20:43:08 2019 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 13 20:43:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/eselect.git/commit/?id=50fd0e9a |
7 |
|
8 |
Output warning messages in yellow. |
9 |
|
10 |
* libs/output.bash.in (colours): Display warning messages in |
11 |
yellow, in order to distinguish from errors which are red. |
12 |
|
13 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
14 |
|
15 |
ChangeLog | 5 +++++ |
16 |
libs/output.bash.in | 4 ++-- |
17 |
2 files changed, 7 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/ChangeLog b/ChangeLog |
20 |
index 84673d3..446cd31 100644 |
21 |
--- a/ChangeLog |
22 |
+++ b/ChangeLog |
23 |
@@ -1,3 +1,8 @@ |
24 |
+2019-02-13 Ulrich Mueller <ulm@g.o> |
25 |
+ |
26 |
+ * libs/output.bash.in (colours): Display warning messages in |
27 |
+ yellow, in order to distinguish from errors which are red. |
28 |
+ |
29 |
2018-12-22 Ulrich Mueller <ulm@g.o> |
30 |
|
31 |
* modules/profile.eselect (set_symlink): Warn about deprecated |
32 |
|
33 |
diff --git a/libs/output.bash.in b/libs/output.bash.in |
34 |
index 2d32bc6..2f6fc02 100644 |
35 |
--- a/libs/output.bash.in |
36 |
+++ b/libs/output.bash.in |
37 |
@@ -20,8 +20,8 @@ colours() { |
38 |
COLOUR_NORMAL=$(tput sgr0) |
39 |
COLOUR_BOLD=$(tput bold) |
40 |
COLOUR_HI=$(tput setaf 4)${COLOUR_BOLD} # blue |
41 |
- COLOUR_WARN=$(tput setaf 1)${COLOUR_BOLD} # red |
42 |
- COLOUR_ERROR=${COLOUR_WARN} |
43 |
+ COLOUR_WARN=$(tput setaf 3)${COLOUR_BOLD} # yellow |
44 |
+ COLOUR_ERROR=$(tput setaf 1)${COLOUR_BOLD} # red |
45 |
COLOUR_LIST_HEADER=$(tput setaf 2)${COLOUR_BOLD} # green |
46 |
COLOUR_LIST_LEFT=${COLOUR_BOLD} |
47 |
COLOUR_LIST_RIGHT=${COLOUR_NORMAL} |