Files
arch-system-hyprland/02-system/10-packages.sh
T

18 lines
551 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
fi
pacman -Sy
# 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