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 &&