diff options
Diffstat (limited to '.github/scripts/ci-support-pkgs.sh')
-rwxr-xr-x | .github/scripts/ci-support-pkgs.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/scripts/ci-support-pkgs.sh b/.github/scripts/ci-support-pkgs.sh new file mode 100755 index 00000000..5cedbf3b --- /dev/null +++ b/.github/scripts/ci-support-pkgs.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# This script installs supporting packages needed for CI, which provide following: +# cron, pidof + +set -e + +. /etc/os-release + +case "${ID}" in + amzn|almalinux|centos|fedora) + dnf install -y procps-ng cronie cronie-anacron || \ + yum install -y procps-ng cronie cronie-anacron + ;; + arch) + pacman -S --noconfirm cronie + ;; +esac |