Add disable chaotic aur env flag (#746)
This commit is contained in:
parent
9b25a2fa13
commit
8cee2d3a8b
@ -4,7 +4,7 @@
|
|||||||
sudo pacman -Sy --needed --noconfirm base-devel
|
sudo pacman -Sy --needed --noconfirm base-devel
|
||||||
|
|
||||||
# Only add Chaotic-AUR if the architecture is x86_64 so ARM users can build the packages
|
# 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
|
# Try installing Chaotic-AUR keyring and mirrorlist
|
||||||
if ! pacman-key --list-keys 3056513887B78AEB >/dev/null 2>&1 &&
|
if ! pacman-key --list-keys 3056513887B78AEB >/dev/null 2>&1 &&
|
||||||
sudo pacman-key --recv-key 3056513887B78AEB &&
|
sudo pacman-key --recv-key 3056513887B78AEB &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user