txt/get,pick
Some checks failed
/ arch (push) Successful in 2m59s
/ alpine (push) Successful in 2m41s
/ fedora (push) Successful in 5m57s
/ debian (push) Failing after 3m57s
/ opensuse (push) Successful in 2m19s
/ ubuntu (push) Successful in 6m9s
/ alma (push) Successful in 6m36s
/ rocky (push) Successful in 7m31s
Some checks failed
/ arch (push) Successful in 2m59s
/ alpine (push) Successful in 2m41s
/ fedora (push) Successful in 5m57s
/ debian (push) Failing after 3m57s
/ opensuse (push) Successful in 2m19s
/ ubuntu (push) Successful in 6m9s
/ alma (push) Successful in 6m36s
/ rocky (push) Successful in 7m31s
This commit is contained in:
parent
377dbc977a
commit
ab4de9b536
1 changed files with 4 additions and 4 deletions
|
@ -199,7 +199,7 @@ _spcd_step_wipe() {
|
||||||
_SPCD_TXT_CHARSET="UTF-8"
|
_SPCD_TXT_CHARSET="UTF-8"
|
||||||
_SPCD_TXT_LOCALE_DEFAULT="C"
|
_SPCD_TXT_LOCALE_DEFAULT="C"
|
||||||
|
|
||||||
_spcd_txt_pick() {
|
_spcd_txt() {
|
||||||
case "${SPCD_TXT_LOCALE}" in
|
case "${SPCD_TXT_LOCALE}" in
|
||||||
"${SPCD_TXT_LOCALE_ENGLISH}") echo "${1}" ;;
|
"${SPCD_TXT_LOCALE_ENGLISH}") echo "${1}" ;;
|
||||||
"${SPCD_TXT_LOCALE_FRENCH}") echo "${2}" ;;
|
"${SPCD_TXT_LOCALE_FRENCH}") echo "${2}" ;;
|
||||||
|
@ -342,9 +342,9 @@ spcd_step_out() {
|
||||||
SPCD_TXT_LOCALE_ENGLISH="en_US"
|
SPCD_TXT_LOCALE_ENGLISH="en_US"
|
||||||
SPCD_TXT_LOCALE_FRENCH="fr_FR"
|
SPCD_TXT_LOCALE_FRENCH="fr_FR"
|
||||||
|
|
||||||
spcd_txt_get() {
|
spcd_txt() {
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
"set") _spcd_txt_pick "Set" "Définir" ;;
|
"set") _spcd_txt "Set" "Définir" ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
@ -377,7 +377,7 @@ SPCD_PM_ZYPPER="zypper"
|
||||||
# ╰───┴───────────╯
|
# ╰───┴───────────╯
|
||||||
|
|
||||||
spcd_e_default() {
|
spcd_e_default() {
|
||||||
spcd_step "$(spcd_txt_get "set")"
|
spcd_step "$(spcd_txt "set")"
|
||||||
|
|
||||||
[ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9"
|
[ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue