Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] data/gentoo-news:master commit in: 2022-12-27-alternatives-introduction/
Date: Wed, 28 Dec 2022 16:18:05
Message-Id: 1672244253.438d35b13f626ee69e26033c5f9cf829429fecc4.sam@gentoo
1 commit: 438d35b13f626ee69e26033c5f9cf829429fecc4
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 28 16:17:33 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 28 16:17:33 2022 +0000
6 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=438d35b1
7
8 2022-12-27-alternatives-introduction: mention /bin/gzip instead of /usr/bin/gzip
9
10 Prompted by comment at https://wiki.gentoo.org/wiki/Talk:Gzip
11 wrt split-usr systems.
12
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 .../2022-12-27-alternatives-introduction.en.txt | 4 ++--
16 .../2022-12-27-alternatives-introduction.ru.txt | 4 ++--
17 2 files changed, 4 insertions(+), 4 deletions(-)
18
19 diff --git a/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt b/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt
20 index 0f56518..0fb8785 100644
21 --- a/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt
22 +++ b/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt
23 @@ -78,11 +78,11 @@ Going forward, /etc/portage/package.use will be used for this purpose.
24 Users should review the USE flags available for the various app-alternatives
25 ebuilds like app-alternatives/sh and adjust their configuration as desired.
26
27 -For example, to have /usr/bin/gzip be provided by app-arch/pigz for automatic
28 +For example, to have /bin/gzip be provided by app-arch/pigz for automatic
29 parallelization of 'gzip', one would have the following in /etc/portage/package.use:
30 ```
31 # https://wiki.gentoo.org/wiki/Gzip#Parallelization
32 -# Make /usr/bin/gzip be a symlink to pigz for a speedup in compression
33 +# Make /bin/gzip be a symlink to pigz for a speedup in compression
34 app-alternatives/gzip -reference pigz
35 ```
36
37
38 diff --git a/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt b/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt
39 index ec3999a..25a989f 100644
40 --- a/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt
41 +++ b/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt
42 @@ -82,11 +82,11 @@ FEATURES="-collision-protect". collision-protect находит конфликт
43 app-alternatives, таких как app-alternatives/sh, и настройте их на ваше
44 усмотрение.
45
46 -Например, чтобы /usr/bin/gzip был предоставлен пакетом app-arch/pigz, это
47 +Например, чтобы /bin/gzip был предоставлен пакетом app-arch/pigz, это
48 автоматически параллелизует gzip, нужен такой текст в /etc/portage/package.use:
49 ```
50 # https://wiki.gentoo.org/wiki/Gzip#Parallelization
51 -# Пусть /usr/bin/gzip будет ссылкой на pigz для ускорения сжатия
52 +# Пусть /bin/gzip будет ссылкой на pigz для ускорения сжатия
53 app-alternatives/gzip -reference pigz
54 ```