From c63b87b4169e251c6806f31623ac6f8efea57c28 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 7 Jul 2025 10:28:44 -0700 Subject: [PATCH] Fix yay-bin being checked out to $HOME instead of /tmp and not getting cleaned up Co-author: @bbondier Closes #86 --- install/1-yay.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/1-yay.sh b/install/1-yay.sh index adf1978..9913bfa 100644 --- a/install/1-yay.sh +++ b/install/1-yay.sh @@ -1,9 +1,11 @@ sudo pacman -S --needed --noconfirm base-devel if ! command -v yay &>/dev/null; then + cd /tmp git clone https://aur.archlinux.org/yay-bin.git cd yay-bin makepkg -si --noconfirm - cd ~ + cd - rm -rf yay-bin + cd ~ fi