steps/constants

This commit is contained in:
Marc Beninca 2024-08-25 21:48:37 +02:00
parent 2864745fa7
commit ffa97be33d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -184,19 +184,6 @@ spcd_step_wipe() {
"SPCD_STEP_${SPCD_STEP_LEVEL}_LABEL" "SPCD_STEP_${SPCD_STEP_LEVEL}_LABEL"
} }
# ╭───────────╮
# │ constants │
# ╰───────────╯
SPCD_OS_ALMA="alma"
SPCD_OS_ALPINE="alpine"
SPCD_OS_ARCH="arch"
SPCD_OS_DEBIAN="debian"
SPCD_OS_FEDORA="fedora"
SPCD_OS_OPENSUSE="opensuse"
SPCD_OS_ROCKY="rocky"
SPCD_OS_UBUNTU="ubuntu"
# ╭───────────┬───────╮ # ╭───────────┬───────╮
# │ functions │ error │ # │ functions │ error │
# ╰───────────┴───────╯ # ╰───────────┴───────╯
@ -300,6 +287,19 @@ spcd_step_out() {
SPCD_STEP_LEVEL=$((SPCD_STEP_LEVEL - 1)) SPCD_STEP_LEVEL=$((SPCD_STEP_LEVEL - 1))
} }
# ╭───────┬───────────╮
# │ steps │ constants │
# ╰───────┴───────────╯
SPCD_OS_ALMA="alma"
SPCD_OS_ALPINE="alpine"
SPCD_OS_ARCH="arch"
SPCD_OS_DEBIAN="debian"
SPCD_OS_FEDORA="fedora"
SPCD_OS_OPENSUSE="opensuse"
SPCD_OS_ROCKY="rocky"
SPCD_OS_UBUNTU="ubuntu"
# ╭───────┬─────╮ # ╭───────┬─────╮
# │ steps │ env │ # │ steps │ env │
# ╰───────┴─────╯ # ╰───────┴─────╯