From 54786a719ea837a0bee39e842ea5e8de4638faf2 Mon Sep 17 00:00:00 2001 From: Nyx <144965845+nnyyxxxx@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:40:31 -0400 Subject: [PATCH] git to bin for faster installation (#378) Co-authored-by: nnyyxxxx --- tabs/common-script.sh | 4 ++-- tabs/system-setup/arch/yay-setup.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tabs/common-script.sh b/tabs/common-script.sh index 97721eaf..6bcab74d 100644 --- a/tabs/common-script.sh +++ b/tabs/common-script.sh @@ -28,8 +28,8 @@ checkAURHelper() { echo "Installing yay as AUR helper..." $ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm base-devel - cd /opt && $ESCALATION_TOOL git clone https://aur.archlinux.org/yay-git.git && $ESCALATION_TOOL chown -R "$USER":"$USER" ./yay-git - cd yay-git && makepkg --noconfirm -si + cd /opt && $ESCALATION_TOOL git clone https://aur.archlinux.org/yay-bin.git && $ESCALATION_TOOL chown -R "$USER":"$USER" ./yay-bin + cd yay-bin && makepkg --noconfirm -si if command_exists yay; then AUR_HELPER="yay" diff --git a/tabs/system-setup/arch/yay-setup.sh b/tabs/system-setup/arch/yay-setup.sh index 25fb2ee8..4fd56173 100755 --- a/tabs/system-setup/arch/yay-setup.sh +++ b/tabs/system-setup/arch/yay-setup.sh @@ -8,8 +8,8 @@ installDepend() { if ! command_exists yay; then echo "Installing yay as AUR helper..." $ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm base-devel - cd /opt && $ESCALATION_TOOL git clone https://aur.archlinux.org/yay-git.git && $ESCALATION_TOOL chown -R "$USER": ./yay-git - cd yay-git && makepkg --noconfirm -si + cd /opt && $ESCALATION_TOOL git clone https://aur.archlinux.org/yay-bin.git && $ESCALATION_TOOL chown -R "$USER": ./yay-bin + cd yay-bin && makepkg --noconfirm -si echo "Yay installed" else echo "Aur helper already installed"