refactor: remove LC_ALL from releases_endeavouros()

LC_ALL is set globally at the top of quickget
This commit is contained in:
Martin Wimpress 2024-04-28 03:06:38 +01:00 committed by Martin Wimpress
parent 0f970a46f8
commit c8ea62e50a
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ function releases_elementary() {
}
function releases_endeavouros() {
local ENDEAVOUR_RELEASES="$(web_pipe "https://mirror.alpix.eu/endeavouros/iso/" | LC_ALL="en_US.UTF-8" sort -Mr | grep -o -P '(?<=<a href=").*(?=.iso">)' | grep -v 'x86_64' | cut -c 13- | head -n 5 | tr '\n' ' ')"
local ENDEAVOUR_RELEASES="$(web_pipe "https://mirror.alpix.eu/endeavouros/iso/" | sort -Mr | grep -o -P '(?<=<a href=").*(?=.iso">)' | grep -v 'x86_64' | cut -c 13- | head -n 5 | tr '\n' ' ')"
echo "${ENDEAVOUR_RELEASES,,}"
}