diff --git a/install/preflight/repositories.sh b/install/preflight/repositories.sh index 9ed86b72..fff212d5 100644 --- a/install/preflight/repositories.sh +++ b/install/preflight/repositories.sh @@ -17,7 +17,7 @@ fi sudo pacman -Sy --needed --noconfirm yay # Only add Chaotic-AUR if the architecture is x86_64 so ARM users can build the packages -if [[ "$(uname -m)" == "x86_64" ]] && [ -z "$DISABLE_CHAOTIC" ] && ! command -v yay &>/dev/null; then +if [[ "$(uname -m)" == "x86_64" ]] && [ -z "$DISABLE_CHAOTIC" ]; then # Try installing Chaotic-AUR keyring and mirrorlist if ! pacman-key --list-keys 3056513887B78AEB >/dev/null 2>&1 && sudo pacman-key --recv-key 3056513887B78AEB && @@ -30,6 +30,6 @@ if [[ "$(uname -m)" == "x86_64" ]] && [ -z "$DISABLE_CHAOTIC" ] && ! command -v echo -e '\n[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist' | sudo tee -a /etc/pacman.conf >/dev/null fi else - echo "Failed to install Chaotic-AUR, so won't include it in pacman config!" + echo -e "Failed to install Chaotic-AUR, so won't include it in pacman config!" fi fi