From 512f5d4d9e0a65ad1e89546ae4b5803db9521524 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 22 Jul 2024 08:35:34 +0200 Subject: [PATCH] python sphinx --- spcd.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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"