constants/os

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

View file

@ -184,6 +184,19 @@ 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 │
# ╰───────────┴───────╯ # ╰───────────┴───────╯
@ -1192,15 +1205,6 @@ SPCD_BOX_RIGHT="╶"
SPCD_BOX_UP="╰" SPCD_BOX_UP="╰"
SPCD_BOX_VERTICAL="│" SPCD_BOX_VERTICAL="│"
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"
SPCD_PF_APK="apk" SPCD_PF_APK="apk"
SPCD_PF_DEB="deb" SPCD_PF_DEB="deb"
SPCD_PF_PKG="pkg" SPCD_PF_PKG="pkg"