diff --git a/spcd.sh b/spcd.sh index b962015..458202d 100644 --- a/spcd.sh +++ b/spcd.sh @@ -608,6 +608,27 @@ spcd_install_packages() { "${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") ;; *) spcd_install_package "plantuml" ;; esac + # python sphinx + spcd_step "Install Python Sphinx" + case "${SPCD_OS_ID}" in + "${SPCD_OS_ALPINE}") + spcd_install_package "py3-sphinx" + spcd_install_package "py3-sphinx_rtd_theme" + ;; + "${SPCD_OS_ARCH}") + spcd_install_package "python-sphinx" + spcd_install_package "python-sphinx_rtd_theme" + ;; + "${SPCD_OS_DEBIAN}" | "${SPCD_OS_UBUNTU}") + spcd_install_package "python3-sphinx" + spcd_install_package "python3-sphinx-rtd-theme" + ;; + "${SPCD_OS_FEDORA}") + spcd_install_package "python3-sphinx" + spcd_install_package "python3-sphinx_rtd_theme" + ;; + *) ;; + esac # rsync spcd_step "Install Rsync" spcd_install_package "rsync"