Revert "refactor: remove LC_ALL from releases_endeavouros()"

This reverts commit 22ebf5ba1c.
This commit is contained in:
Martin Wimpress 2024-04-29 00:58:35 +01:00 committed by Martin Wimpress
parent acdb709cc6
commit ec8073cd1e
1 changed files with 1 additions and 1 deletions

View File

@ -730,7 +730,7 @@ function releases_elementary() {
} }
function releases_endeavouros() { function releases_endeavouros() {
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' ' ')" 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' ' ')"
echo "${ENDEAVOUR_RELEASES,,}" echo "${ENDEAVOUR_RELEASES,,}"
} }