txt/set
Some checks failed
/ alpine (push) Successful in 1m38s
/ archlinux (push) Successful in 2m37s
/ opensuse (push) Successful in 3m11s
/ ubuntu (push) Successful in 7m53s
/ almalinux (push) Successful in 11m24s
/ fedora (push) Successful in 11m15s
/ rockylinux (push) Successful in 12m47s
/ debian (push) Failing after 3m29s

This commit is contained in:
Marc Beninca 2024-08-29 16:17:04 +02:00
parent 90527c0078
commit d388d30d0c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -318,6 +318,17 @@ spcd_step_out() {
__SPCD_STEP_LEVEL=$((__SPCD_STEP_LEVEL - 1)) __SPCD_STEP_LEVEL=$((__SPCD_STEP_LEVEL - 1))
} }
# ╭───────────┬─────╮
# │ functions │ txt │
# ╰───────────┴─────╯
spcd_txt_get() {
case "${1}" in
"set") _spcd_txt_pick "Set" "Définir" ;;
*) ;;
esac
}
# ╭──────╮ # ╭──────╮
# │ step │ # │ step │
# ╰──────╯ # ╰──────╯
@ -377,7 +388,7 @@ spcd_step__environment_defaults_print() {
} }
spcd_step__environment_defaults_set() { spcd_step__environment_defaults_set() {
spcd_step "Set" spcd_step "$(spcd_txt_get "set")"
[ -n "${SPCD_CMD_SUM}" ] || SPCD_CMD_SUM="sha512sum" [ -n "${SPCD_CMD_SUM}" ] || SPCD_CMD_SUM="sha512sum"
[ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9" [ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9"