This commit is contained in:
Marc Beninca 2024-08-26 18:20:47 +02:00
parent 8246b28512
commit 971dce2ada
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -561,10 +561,6 @@ ${SPCD_PROJECT_ROOT}$(basename "${GITHUB_SERVER_URL}")"
esac esac
spcd_split spcd_split
spcd_os_printenv "SPCD_OS_ID" "SPCD_OS_VERSION" 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 # set package manager
case "${SPCD_OS_ID}" in case "${SPCD_OS_ID}" in
"${SPCD_OS_ALPINE}") "${SPCD_OS_ALPINE}")
@ -685,7 +681,8 @@ Acquire::https::Verify-Peer False;
esac esac
spcd_split spcd_split
spcd_os_printenv "SPCD_URL_DEFAULT" "SPCD_URL_CHOSEN" 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 case "${SPCD_OS_ID}" in
"${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") "${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}")
SPCD_PYTHON_COMMAND="python3.12" SPCD_PYTHON_COMMAND="python3.12"
@ -739,7 +736,8 @@ Acquire::https::Verify-Peer False;
*) ;; *) ;;
esac esac
spcd_split 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 # set python packages
case "${SPCD_OS_ID}" in case "${SPCD_OS_ID}" in
"${SPCD_OS_ALMA}" | "${SPCD_OS_FEDORA}" | "${SPCD_OS_ROCKY}" | \ "${SPCD_OS_ALMA}" | "${SPCD_OS_FEDORA}" | "${SPCD_OS_ROCKY}" | \