From 4e087ead788646aff45c24f4da7d13b92a9bc1b8 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 22 Jul 2024 12:06:45 +0200 Subject: [PATCH] ruff --- spcd.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spcd.sh b/spcd.sh index c05fba9..647bd0e 100644 --- a/spcd.sh +++ b/spcd.sh @@ -644,6 +644,15 @@ 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 # shellcheck spcd_step "Install ShellCheck" case "${SPCD_PM}" in