agent: Arch support

This commit is contained in:
2025-08-23 17:38:36 +01:00
parent 3752e204be
commit d9e7317e2e
15 changed files with 188 additions and 49 deletions

View File

@@ -0,0 +1,25 @@
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# (distros with pacman only) Install core pacman packages.
#
if command -v pacman &> /dev/null; then
pacman_packages=(
ca-certificates
curl
gnupg
wget
base-devel
)
sudo pacman -Sy --noconfirm
sudo pacman -S --noconfirm --needed "${pacman_packages[@]}"
unset pacman_packages
pacman --version
else
log_warn "Skipping: pacman not found"
fi