−os/pelican,ruff

This commit is contained in:
Marc Beninca 2024-08-07 21:02:02 +02:00
parent aed6978d74
commit fea6fbebca
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 15 additions and 35 deletions

20
spcd.sh
View file

@ -624,17 +624,6 @@ spcd_install_packages() {
# plantuml
spcd_step "Install PlantUML"
spcd_install_package "plantuml"
# python pelican
spcd_step "Install Python Pelican"
case "${SPCD_OS_ID}" in
"${SPCD_OS_ARCH}" | "${SPCD_OS_DEBIAN}" | "${SPCD_OS_UBUNTU}")
spcd_install_package "pelican"
;;
"${SPCD_OS_FEDORA}")
spcd_install_package "python3-pelican"
;;
*) ;;
esac
# python sphinx
spcd_step "Install Python Sphinx"
case "${SPCD_OS_ID}" in
@ -659,15 +648,6 @@ spcd_install_packages() {
# rsync
spcd_step "Install Rsync"
spcd_install_package "rsync"
# ruff
spcd_step "Install Ruff"
case "${SPCD_OS_ID}" in
"${SPCD_OS_ALPINE}")
[ "${SPCD_OS_VERSION}" != "3.19" ] && spcd_install_package "ruff"
;;
"${SPCD_OS_ARCH}" | "${SPCD_OS_FEDORA}") spcd_install_package "ruff" ;;
*) ;;
esac
# shell check
spcd_step "Install ShellCheck"
case "${SPCD_PM}" in