From 8cee2d3a8bdd3389a61630f5c8f4bd28fd498189 Mon Sep 17 00:00:00 2001 From: Bruce Date: Wed, 13 Aug 2025 20:13:40 +0200 Subject: [PATCH] Add disable chaotic aur env flag (#746) --- install/preflight/aur.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/preflight/aur.sh b/install/preflight/aur.sh index ab9cd020..e363b0ef 100644 --- a/install/preflight/aur.sh +++ b/install/preflight/aur.sh @@ -4,7 +4,7 @@ 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 +if [[ "$(uname -m)" == "x86_64" ]] && [ -z "$DISABLE_CHAOTIC" ] && ! command -v yay &>/dev/null; then # Try installing Chaotic-AUR keyring and mirrorlist if ! pacman-key --list-keys 3056513887B78AEB >/dev/null 2>&1 && sudo pacman-key --recv-key 3056513887B78AEB &&