mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
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>
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user