From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/eselect-vi:master commit in: /
Date: Tue, 22 Nov 2022 00:31:15 +0000 (UTC) [thread overview]
Message-ID: <1669077057.a1ac514c7a541d02d5363eed6bd68b8183fc479c.sam@gentoo> (raw)
commit: a1ac514c7a541d02d5363eed6bd68b8183fc479c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 22 00:27:02 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 22 00:30:57 2022 +0000
URL: https://gitweb.gentoo.org/proj/eselect-vi.git/commit/?id=a1ac514c
Add additional man page compressed suffixes
Just copy the list from Portage's ecompress.
Signed-off-by: Sam James <sam <AT> gentoo.org>
vi.eselect.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/vi.eselect.in b/vi.eselect.in
index af51482..3d4f469 100644
--- a/vi.eselect.in
+++ b/vi.eselect.in
@@ -30,16 +30,16 @@ find_targets() {
# try to remove the vi, ex, view and man vi symlinks
remove_symlinks() {
rm -f "${EROOT}"/usr/bin/{vi,ex,view} &>/dev/null && \
- rm -f "${EROOT}"/usr/share/man/man1/{vi,ex,view}.1{,.gz,.bz2,.lzma} &>/dev/null
+ rm -f "${EROOT}"/usr/share/man/man1/{vi,ex,view}.1{,.Z,.gz,.bz2,.lzma,.lz,.lzo,.lz4,.xz,.zst} &> /dev/null
}
# set a man page symlink
set_man_symlink() {
local target="${1}" link_name="${2}" x extension
- for x in ".1" ".1.bz2" ".1.gz" ".1.lzma"; do
- if [[ -e ${EROOT}/usr/share/man/man1/${target}${x} ]]; then
- extension="${x}"
+ for x in '' .Z .gz .bz2 .lzma .lz .lzo .lz4 .xz .zst; do
+ if [[ -e ${EROOT}/usr/share/man/man1/${target}.1${x} ]]; then
+ extension=".1${x}"
break
fi
done
next reply other threads:[~2022-11-22 0:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-22 0:31 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-22 1:05 [gentoo-commits] proj/eselect-vi:master commit in: / Sam James
2022-11-22 1:05 Sam James
2022-11-22 0:31 Sam James
2022-11-22 0:31 Sam James
2022-11-22 0:31 Sam James
2022-11-22 0:31 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1669077057.a1ac514c7a541d02d5363eed6bd68b8183fc479c.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox