drop deprecated stable-staging

merge-requests/278/merge
beliy 1 year ago
parent a7dd3af783
commit e1c5941456

@ -208,7 +208,7 @@ id_system() {
check_for_error "system: $SYSTEM, init: $H_INIT nw-client: $NW_CMD"
# evaluate host branch
ini system.branch "$(grep -oE -m 1 "stable|stable-staging|testing|unstable" /etc/pacman.d/mirrorlist)"
ini system.branch "$(grep -oE -m 1 "stable|testing|unstable" /etc/pacman.d/mirrorlist)"
}
# If there is an error, display it and go back to main menu. In any case, write to logfile.
@ -464,10 +464,9 @@ configure_mirrorlist() {
rank_mirrors() {
#Choose the branch for mirrorlist
local branch=""
local oldbranch="$(grep -oE -m 1 "stable|stable-staging|testing|unstable" /etc/pacman.d/mirrorlist)"
local oldbranch="$(grep -oE -m 1 "stable|testing|unstable" /etc/pacman.d/mirrorlist)"
branch=$(DIALOG " $_MirrorBranch " --radiolist "\n$_UseSpaceBar\n " 0 0 3 \
"stable" "-" on \
"stable-staging" "-" off \
"testing" "-" off \
"unstable" "-" off 3>&1 1>&2 2>&3)
[[ -z "${branch}" ]] && return 0
@ -483,10 +482,9 @@ rank_mirrors() {
rank_mirrors_continent() {
#Choose the branch for mirrorlist
local branch=""
local oldbranch="$(grep -oE -m 1 "stable|stable-staging|testing|unstable" /etc/pacman.d/mirrorlist)"
local oldbranch="$(grep -oE -m 1 "stable|testing|unstable" /etc/pacman.d/mirrorlist)"
branch=$(DIALOG " $_MirrorBranch " --radiolist "\n$_UseSpaceBar\n " 0 0 3 \
"stable" "-" on \
"stable-staging" "-" off \
"testing" "-" off \
"unstable" "-" off 3>&1 1>&2 2>&3)
[[ -z "${branch}" ]] && return 0

Loading…
Cancel
Save