1 |
On Mon, 1 Feb 2016 17:37:48 +0100 |
2 |
Alexander Berntsen <bernalex@g.o> wrote: |
3 |
|
4 |
> Add a CONFIGURATION FILES UPDATE TOOLS header to the manpage, to make |
5 |
> the tools discussion stand out from the configuration files discussion |
6 |
> in general. |
7 |
> |
8 |
> Refer to the new section in emerge's configuration file updates |
9 |
> output. |
10 |
> |
11 |
> X-Gentoo-Bug: 543706 |
12 |
> X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=543706 |
13 |
> |
14 |
> Suggested-by: Julian Ospald <hasufell@g.o> |
15 |
> Signed-off-by: Alexander Berntsen <bernalex@g.o> |
16 |
> --- |
17 |
> man/emerge.1 | 1 + |
18 |
> pym/_emerge/chk_updated_cfg_files.py | 6 +++--- |
19 |
> 2 files changed, 4 insertions(+), 3 deletions(-) |
20 |
> |
21 |
> diff --git a/man/emerge.1 b/man/emerge.1 |
22 |
> index 05b2a01..0f5782e 100644 |
23 |
> --- a/man/emerge.1 |
24 |
> +++ b/man/emerge.1 |
25 |
> @@ -1237,6 +1237,7 @@ add this to \fBmake.conf\fR(5): |
26 |
> .LP |
27 |
> .I CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d" |
28 |
> .LP |
29 |
> +.SH "CONFIGURATION FILES UPDATE TOOLS" |
30 |
> Tools such as dispatch\-conf, cfg\-update, and etc\-update are also |
31 |
> available to aid in the merging of these files. They provide |
32 |
> interactive merging and can auto\-merge trivial changes. |
33 |
> diff --git a/pym/_emerge/chk_updated_cfg_files.py |
34 |
> b/pym/_emerge/chk_updated_cfg_files.py index 9f2ab6f..6903df9 100644 |
35 |
> --- a/pym/_emerge/chk_updated_cfg_files.py |
36 |
> +++ b/pym/_emerge/chk_updated_cfg_files.py |
37 |
> @@ -36,7 +36,7 @@ def chk_updated_cfg_files(eroot, config_protect): |
38 |
> |
39 |
> if result: |
40 |
> print(" " + yellow("*") + " See the " + |
41 |
> - colorize("INFORM", _("CONFIGURATION FILES")) |
42 |
> + |
43 |
> - " " + _("section of the") + " " + |
44 |
> bold("emerge")) |
45 |
> - print(" " + yellow("*") + " " + |
46 |
> + colorize("INFORM", _("CONFIGURATION FILES")) |
47 |
> + " and " + |
48 |
> + colorize("INFORM", _("CONFIGURATION FILES |
49 |
> UPDATE TOOLS"))) |
50 |
> + print(" " + yellow("*") + " sections of the " + |
51 |
> bold("emerge") + " " + _("man page to learn how to update config |
52 |
> files.")) |
53 |
|
54 |
Looks great :) |
55 |
|
56 |
-- |
57 |
Brian Dolbec <dolsen> |