diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-24 16:33:34 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-27 22:28:00 +0200 |
commit | 9b78899586d18da0c53eb588affcd8e6ffaa8bbb (patch) | |
tree | c61a2b05692b511a4cf6410932bf80eb55aa7e31 /eclass | |
parent | unpacker.eclass: Use lowercase in unpacker_src_uri_depends (diff) | |
download | gentoo-9b78899586d18da0c53eb588affcd8e6ffaa8bbb.tar.gz gentoo-9b78899586d18da0c53eb588affcd8e6ffaa8bbb.tar.bz2 gentoo-9b78899586d18da0c53eb588affcd8e6ffaa8bbb.zip |
unpacker.eclass: Remove uppercase RAR/LHA variants
Remove the uppercase variants of RAR/LHA that were copied from Portage
implementation. The functions always convert filenames to lowercase,
so accounting for them is redundant.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/unpacker.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index e07c25d0ffa9..ca6761488100 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -444,9 +444,9 @@ _unpacker() { case ${m} in *.7z) arch="unpack_7z" ;; - *.rar|*.RAR) + *.rar) arch="unpack_rar" ;; - *.LHA|*.LHa|*.lha|*.lzh) + *.lha|*.lzh) arch="unpack_lha" ;; esac fi @@ -513,7 +513,7 @@ unpacker_src_uri_depends() { case ${m} in *.cpio.*|*.cpio) d="app-arch/cpio" ;; - *.rar|*.RAR) + *.rar) d="app-arch/unrar" ;; *.7z) d="app-arch/p7zip" ;; @@ -525,7 +525,7 @@ unpacker_src_uri_depends() { d="|| ( app-arch/plzip app-arch/pdlzip app-arch/lzip )" ;; *.zst) d="app-arch/zstd" ;; - *.LHA|*.LHa|*.lha|*.lzh) + *.lha|*.lzh) d="app-arch/lha" ;; esac deps+=" ${d}" |