From 7964b8064b6b4aa3bac90cfe585b1b43f7f49f55 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 21 Jul 2023 21:58:36 +0200 Subject: [PATCH] show countrycode --- usr/bin/archboot-pacsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/archboot-pacsetup.sh b/usr/bin/archboot-pacsetup.sh index 6ac7db427..cbe241092 100755 --- a/usr/bin/archboot-pacsetup.sh +++ b/usr/bin/archboot-pacsetup.sh @@ -16,7 +16,7 @@ _select_mirror() { fi fi # FIXME: this regex doesn't honor commenting - _MIRRORS=$(grep -E -o '(https))://[^/]*' "${_MIRRORLIST}" | sed "s|$| _${_COUNTRY}|g") + _MIRRORS=$(grep -E -o '(https))://[^/]*' "${_MIRRORLIST}" | sed 's|$| _|g') #shellcheck disable=SC2086 _dialog --cancel-label "Exit" --title " Package Mirror " --menu "" 13 55 7 \ "Custom" "Own Mirror" ${_MIRRORS} 2>${_ANSWER} || _abort