commit: 438d35b13f626ee69e26033c5f9cf829429fecc4 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Dec 28 16:17:33 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Dec 28 16:17:33 2022 +0000 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=438d35b1
2022-12-27-alternatives-introduction: mention /bin/gzip instead of /usr/bin/gzip Prompted by comment at https://wiki.gentoo.org/wiki/Talk:Gzip wrt split-usr systems. Signed-off-by: Sam James <sam <AT> gentoo.org> .../2022-12-27-alternatives-introduction.en.txt | 4 ++-- .../2022-12-27-alternatives-introduction.ru.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 index 0f56518..0fb8785 100644 --- 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 @@ -78,11 +78,11 @@ Going forward, /etc/portage/package.use will be used for this purpose. Users should review the USE flags available for the various app-alternatives ebuilds like app-alternatives/sh and adjust their configuration as desired. -For example, to have /usr/bin/gzip be provided by app-arch/pigz for automatic +For example, to have /bin/gzip be provided by app-arch/pigz for automatic parallelization of 'gzip', one would have the following in /etc/portage/package.use: ``` # https://wiki.gentoo.org/wiki/Gzip#Parallelization -# Make /usr/bin/gzip be a symlink to pigz for a speedup in compression +# Make /bin/gzip be a symlink to pigz for a speedup in compression app-alternatives/gzip -reference pigz ``` 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 index ec3999a..25a989f 100644 --- 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 @@ -82,11 +82,11 @@ FEATURES="-collision-protect". collision-protect находит конфликт app-alternatives, таких как app-alternatives/sh, и настройте их на ваше усмотрение. -Например, чтобы /usr/bin/gzip был предоставлен пакетом app-arch/pigz, это +Например, чтобы /bin/gzip был предоставлен пакетом app-arch/pigz, это автоматически параллелизует gzip, нужен такой текст в /etc/portage/package.use: ``` # https://wiki.gentoo.org/wiki/Gzip#Parallelization -# Пусть /usr/bin/gzip будет ссылкой на pigz для ускорения сжатия +# Пусть /bin/gzip будет ссылкой на pigz для ускорения сжатия app-alternatives/gzip -reference pigz ```
