From 971dce2adaddbc59280ee0c49cda6f342815a3ed Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 18:20:47 +0200 Subject: [PATCH] mv --- spcd/bootstrap.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 7e62dc8..96fb05f 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -561,10 +561,6 @@ ${SPCD_PROJECT_ROOT}$(basename "${GITHUB_SERVER_URL}")" esac spcd_split spcd_os_printenv "SPCD_OS_ID" "SPCD_OS_VERSION" - # universal - SPCD_PYTHON_ALIAS="python" - spcd_split - spcd_os_printenv "SPCD_PYTHON_ALIAS" # set package manager case "${SPCD_OS_ID}" in "${SPCD_OS_ALPINE}") @@ -685,7 +681,8 @@ Acquire::https::Verify-Peer False; esac spcd_split spcd_os_printenv "SPCD_URL_DEFAULT" "SPCD_URL_CHOSEN" - # set python command & package + # set python alias, command & package + SPCD_PYTHON_ALIAS="python" case "${SPCD_OS_ID}" in "${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") SPCD_PYTHON_COMMAND="python3.12" @@ -739,7 +736,8 @@ Acquire::https::Verify-Peer False; *) ;; esac spcd_split - spcd_os_printenv "SPCD_PYTHON_COMMAND" "SPCD_PYTHON_PACKAGE" + spcd_os_printenv "SPCD_PYTHON_ALIAS" \ + "SPCD_PYTHON_COMMAND" "SPCD_PYTHON_PACKAGE" # set python packages case "${SPCD_OS_ID}" in "${SPCD_OS_ALMA}" | "${SPCD_OS_FEDORA}" | "${SPCD_OS_ROCKY}" | \