install venv if necessary
This commit is contained in:
parent
b414222048
commit
17c9b919aa
2 changed files with 9 additions and 1 deletions
|
@ -84,7 +84,6 @@ from various contexts of CA, CI and OCI / OS.
|
|||
* actions
|
||||
* includes
|
||||
* handle python virtual environment
|
||||
* install venv if necessary
|
||||
* upgrade pip
|
||||
* install packages
|
||||
* ruff
|
||||
|
|
9
spcd.sh
9
spcd.sh
|
@ -653,6 +653,15 @@ spcd_install_packages() {
|
|||
;;
|
||||
*) ;;
|
||||
esac
|
||||
# python venv
|
||||
spcd_step "Install Python virtual environment"
|
||||
case "${SPCD_OS_ID}" in
|
||||
"${SPCD_OS_DEBIAN}" | "${SPCD_OS_UBUNTU}")
|
||||
spcd_install_package "python3-venv"
|
||||
;;
|
||||
# FIXME arch
|
||||
*) ;;
|
||||
esac
|
||||
# rsync
|
||||
spcd_step "Install Rsync"
|
||||
spcd_install_package "rsync"
|
||||
|
|
Loading…
Reference in a new issue