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
|
* actions
|
||||||
* includes
|
* includes
|
||||||
* handle python virtual environment
|
* handle python virtual environment
|
||||||
* install venv if necessary
|
|
||||||
* upgrade pip
|
* upgrade pip
|
||||||
* install packages
|
* install packages
|
||||||
* ruff
|
* ruff
|
||||||
|
|
9
spcd.sh
9
spcd.sh
|
@ -653,6 +653,15 @@ spcd_install_packages() {
|
||||||
;;
|
;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
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
|
# rsync
|
||||||
spcd_step "Install Rsync"
|
spcd_step "Install Rsync"
|
||||||
spcd_install_package "rsync"
|
spcd_install_package "rsync"
|
||||||
|
|
Loading…
Reference in a new issue