ci-support-pkgs.sh 465 B

1234567891011121314
  1. #!/bin/sh
  2. # This script installs supporting packages needed for CI, which provide following:
  3. # cron, pidof
  4. set -e
  5. if [ -f /etc/centos-release ] || [ -f /etc/redhat-release ] || [ -f /etc/fedora-release ] || [ -f /etc/almalinux-release ]; then
  6. # Alma, Fedora, CentOS, Redhat
  7. dnf install -y procps-ng cronie cronie-anacron || yum install -y procps-ng cronie cronie-anacron
  8. elif [ -f /etc/arch-release ]; then
  9. # Arch
  10. pacman -S --noconfirm cronie
  11. fi