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