From d66c4350f5ee07c6982e88873d459a08722bdd64 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Thu, 23 Sep 2021 11:20:16 -0600 Subject: [PATCH] allowed -git version on arch --- setup/os-dependencies/arch.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/os-dependencies/arch.zsh b/setup/os-dependencies/arch.zsh index 766a300..c3ec952 100644 --- a/setup/os-dependencies/arch.zsh +++ b/setup/os-dependencies/arch.zsh @@ -2,7 +2,9 @@ YAY__SOURCE_TARGET='https://aur.archlinux.org/yay.git' YAY__LOCAL_PATH="$HOME/.packages/yay" YAY__INSTALL_FROM_SOURCE() { - [ -d $YAY__LOCAL_PATH ] && return 0 + CHECK 'verifying yay install' + [ -d $YAY__LOCAL_PATH ] \ + && { OK; return 0; } || WARN CHECK 'downloading yay' git clone $ARCH__YAY_TARGET $YAY__LOCAL_PATH >>$LOG 2>&1\