Fix yay-bin being checked out to $HOME instead of /tmp and not getting cleaned up

Co-author: @bbondier
Closes #86
This commit is contained in:
David Heinemeier Hansson
2025-07-07 10:28:44 -07:00
parent 17ead79b74
commit c63b87b416

View File

@ -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