Compare commits

..

No commits in common. "d388d30d0c95fc8bf224e05ec6520680cfbf9e4c" and "ba1e93eac5c8a315405ba09a48e2006d7a07acb5" have entirely different histories.

3 changed files with 1 additions and 34 deletions

View file

@ -1,3 +1,2 @@
disable=2312
enable=all
shell=sh

View file

@ -276,7 +276,4 @@ Handle project workflows in a unified way:
* automate versions fetching
* handle openh264 repositories
* languages
* handle different ones
* translate to french
* try to support nix

View file

@ -172,21 +172,6 @@ _spcd_step_wipe() {
"__SPCD_STEP_${__SPCD_STEP_LEVEL}_LABEL"
}
# ╭───┬─────╮
# │ _ │ txt │
# ╰───┴─────╯
_SPCD_TXT_LANGUAGE_ENGLISH="en"
_SPCD_TXT_LANGUAGE_FRENCH="fr"
_spcd_txt_pick() {
case "${SPCD_TXT_LANGUAGE}" in
"${_SPCD_TXT_LANGUAGE_ENGLISH}") echo "${2}" ;;
"${_SPCD_TXT_LANGUAGE_FRENCH}") echo "${1}" ;;
*) ;;
esac
}
# ╭───────────╮
# │ functions │
# ╰───────────╯
@ -318,17 +303,6 @@ spcd_step_out() {
__SPCD_STEP_LEVEL=$((__SPCD_STEP_LEVEL - 1))
}
# ╭───────────┬─────╮
# │ functions │ txt │
# ╰───────────┴─────╯
spcd_txt_get() {
case "${1}" in
"set") _spcd_txt_pick "Set" "Définir" ;;
*) ;;
esac
}
# ╭──────╮
# │ step │
# ╰──────╯
@ -367,7 +341,6 @@ spcd_step__environment_defaults_print() {
"REF_FEATURE" \
"REF_RELEASE" \
"REF_STAGING" \
"TXT_LANGUAGE" \
"URL_ALMA" \
"URL_ALPINE" \
"URL_ARCH" \
@ -388,7 +361,7 @@ spcd_step__environment_defaults_print() {
}
spcd_step__environment_defaults_set() {
spcd_step "$(spcd_txt_get "set")"
spcd_step "Set"
[ -n "${SPCD_CMD_SUM}" ] || SPCD_CMD_SUM="sha512sum"
[ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9"
@ -402,8 +375,6 @@ spcd_step__environment_defaults_set() {
[ -n "${SPCD_REF_RELEASE}" ] || SPCD_REF_RELEASE="main"
[ -n "${SPCD_REF_STAGING}" ] || SPCD_REF_STAGING="dev"
[ -n "${SPCD_TXT_LANGUAGE}" ] || SPCD_TXT_LANGUAGE="en"
[ -n "${SPCD_URL_ALMA}" ] ||
# /almalinux/$releasever/…
# /vault/$releasever/…