mv
This commit is contained in:
parent
8246b28512
commit
971dce2ada
1 changed files with 4 additions and 6 deletions
|
@ -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}" | \
|
||||
|
|
Loading…
Reference in a new issue