Files
arch-system-hyprland/02-system/10-packages.sh
T
2026-07-02 15:56:21 +02:00

17 lines
552 B
Bash

# Enable the [multilib] repo (needed for lib32-* and steam) — disabled by default
# on a fresh Arch install. Idempotent.
if ! grep -q '^\[multilib\]' /etc/pacman.conf; then
info "enabling [multilib] repo"
sed -i '/^#\[multilib\]/,/^#Include/ s/^#//' /etc/pacman.conf
pacman -Sy
fi
# Install the base package set + the GPU vendor group for this host.
pac_file packages/pacman.txt
case "$GPU" in
amd) pac_file packages/graphics-amd.txt ;;
intel) pac_file packages/graphics-intel.txt ;;
*) info "no GPU group for GPU='$GPU'" ;;
esac