From 2864745fa796b5ab6d824320d5db6928f27af04c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 21:45:24 +0200 Subject: [PATCH] constants/os --- spcd/main.sh | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index 41c996c..035b793 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -184,6 +184,19 @@ spcd_step_wipe() { "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 │ # ╰───────────┴───────╯ @@ -1192,15 +1205,6 @@ SPCD_BOX_RIGHT="╶" SPCD_BOX_UP="╰" 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_DEB="deb" SPCD_PF_PKG="pkg"