From f0f4569aa23a469f5950d4f44075026ee88ef56b Mon Sep 17 00:00:00 2001 From: Dylan Bridgman Date: Tue, 12 Aug 2025 15:54:29 +0200 Subject: [PATCH] Always install `base-devel` in case `yay` needs to build a package (#710) --- install/preflight/aur.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/preflight/aur.sh b/install/preflight/aur.sh index 525b17c1..ab9cd020 100644 --- a/install/preflight/aur.sh +++ b/install/preflight/aur.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Install build tools +sudo pacman -Sy --needed --noconfirm base-devel + # Only add Chaotic-AUR if the architecture is x86_64 so ARM users can build the packages if [[ "$(uname -m)" == "x86_64" ]] && ! command -v yay &>/dev/null; then # Try installing Chaotic-AUR keyring and mirrorlist @@ -23,8 +26,6 @@ fi # Manually install yay from AUR if not already available if ! command -v yay &>/dev/null; then - # Install build tools - sudo pacman -Sy --needed --noconfirm base-devel cd /tmp rm -rf yay-bin git clone https://aur.archlinux.org/yay-bin.git